Removed redundant dependencies for WorkManager and EasyPreferences, TaskDescription colour changed to colorAccent

This commit is contained in:
Deniz Düzgören
2019-07-06 14:18:59 +02:00
parent d93407e98f
commit 3166fadf7f
15 changed files with 137 additions and 194 deletions
@@ -109,10 +109,6 @@ class Main : AppCompatActivity(R.layout.activity_main) {
// } // TODO theming based on system settings for Android Q
}
val bm = BitmapFactory.decodeResource(resources, R.mipmap.ic_launcher)
val taskDesc = ActivityManager.TaskDescription(getString(R.string.app_name), bm, ContextCompat.getColor(this, R.color.background))
setTaskDescription(taskDesc)
if (!prefs.getBoolean("showinfotab", true)) {
bottomNav.menu.removeItem(R.id.openinfopanel)
}