properly update a background if the Customize notifications button is hidden
This commit is contained in:
parent
a5dc5c1bb8
commit
9807f94480
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue