properly update a background if the Customize notifications button is hidden
This commit is contained in:
parent
a5dc5c1bb8
commit
9807f94480
|
@ -93,6 +93,11 @@ class SettingsActivity : SimpleActivity() {
|
|||
|
||||
private fun setupCustomizeNotifications() {
|
||||
settings_customize_notifications_holder.beVisibleIf(isOreoPlus())
|
||||
|
||||
if (settings_customize_notifications_holder.isGone()) {
|
||||
settings_lock_screen_visibility_holder.background = resources.getDrawable(R.drawable.ripple_all_corners, theme)
|
||||
}
|
||||
|
||||
settings_customize_notifications_holder.setOnClickListener {
|
||||
launchCustomizeNotificationsIntent()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue