1
0
Fork 0

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

master
Emily Kager 2019-09-05 09:21:56 -07:00 committed by Sawyer Blatz
parent 3a35233ac0
commit bb2a685ad9
1 changed files with 1 additions and 1 deletions

View File

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