Skip to content

Commit

Permalink
Ensure we still show in revoked
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed May 14, 2024
1 parent da2a9e9 commit 735196e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class TunnelStateNotificationProvider(
tunnelState: TunnelState,
actionAfterDisconnect: ActionAfterDisconnect?,
accountState ->
if (accountState !is DeviceState.LoggedIn) {
return@combine NotificationUpdate.Cancel(NotificationId(2))
if (accountState is DeviceState.LoggedOut) {
return@combine NotificationUpdate.Cancel(notificationId)
}
val notificationTunnelState =
tunnelState(
Expand Down

0 comments on commit 735196e

Please sign in to comment.