mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-04 02:12:24 +00:00
Fix New streams settings snackbar not being hidden on exiting
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user