[fenix] For https://github.com/mozilla-mobile/fenix/issues/5075 - Fix boolean error for private mode notification persistence (https://github.com/mozilla-mobile/fenix/pull/5120)

pull/600/head
Emily Kager 5 years ago committed by Sawyer Blatz
parent fcee35b059
commit 16d1b63850

@ -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