Skip to content

Commit

Permalink
Fix incorrect unsecured in Login screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Aug 7, 2024
1 parent f904414 commit 6cacd82
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import kotlinx.coroutines.flow.combine
import kotlinx.coroutines.flow.distinctUntilChanged
import kotlinx.coroutines.flow.filterIsInstance
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.onStart
import kotlinx.coroutines.flow.stateIn
import net.mullvad.mullvadvpn.lib.model.ActionAfterDisconnect
Expand Down Expand Up @@ -41,9 +42,6 @@ class TunnelStateNotificationProvider(
deviceRepository.deviceState
) { tunnelState: TunnelState, actionAfterDisconnect: ActionAfterDisconnect?, deviceState
->
if (deviceState is DeviceState.LoggedOut) {
return@combine NotificationUpdate.Cancel(notificationId)
}
val notificationTunnelState =
tunnelState(
tunnelState,
Expand Down

0 comments on commit 6cacd82

Please sign in to comment.