For #5075 - Fix boolean error for private mode notification persistence (#5120)

nightly-build-test
Emily Kager 5 years ago committed by Sawyer Blatz
parent 3a35233ac0
commit bb2a685ad9

@ -20,7 +20,7 @@ class NotificationSessionObserver(
) : SessionManager.Observer {
override fun onSessionRemoved(session: Session) {
val privateTabsEmpty = !context.components.core.sessionManager.sessionsOfType(private = true).none()
val privateTabsEmpty = context.components.core.sessionManager.sessionsOfType(private = true).none()
if (privateTabsEmpty) {
SessionNotificationService.stop(context)

Loading…
Cancel
Save