Fix New streams settings snackbar not being hidden on exiting
This commit is contained in:
parent
f2fc2cc24a
commit
fa58a81852
1 changed files with 3 additions and 3 deletions
|
@ -89,9 +89,6 @@ class NotificationsSettingsFragment : BasePreferenceFragment(), OnSharedPreferen
|
||||||
show()
|
show()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
notificationWarningSnackbar?.dismiss()
|
|
||||||
notificationWarningSnackbar = null
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// (Re-)Create loader
|
// (Re-)Create loader
|
||||||
|
@ -106,6 +103,9 @@ class NotificationsSettingsFragment : BasePreferenceFragment(), OnSharedPreferen
|
||||||
loader?.dispose()
|
loader?.dispose()
|
||||||
loader = null
|
loader = null
|
||||||
|
|
||||||
|
notificationWarningSnackbar?.dismiss()
|
||||||
|
notificationWarningSnackbar = null
|
||||||
|
|
||||||
super.onPause()
|
super.onPause()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue