Skip to content

Commit 6cacd82

Browse files
committed
Fix incorrect unsecured in Login screen
1 parent f904414 commit 6cacd82

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/tunnelstate/TunnelStateNotificationProvider.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import kotlinx.coroutines.flow.combine
88
import kotlinx.coroutines.flow.distinctUntilChanged
99
import kotlinx.coroutines.flow.filterIsInstance
1010
import kotlinx.coroutines.flow.map
11+
import kotlinx.coroutines.flow.onEach
1112
import kotlinx.coroutines.flow.onStart
1213
import kotlinx.coroutines.flow.stateIn
1314
import net.mullvad.mullvadvpn.lib.model.ActionAfterDisconnect
@@ -41,9 +42,6 @@ class TunnelStateNotificationProvider(
4142
deviceRepository.deviceState
4243
) { tunnelState: TunnelState, actionAfterDisconnect: ActionAfterDisconnect?, deviceState
4344
->
44-
if (deviceState is DeviceState.LoggedOut) {
45-
return@combine NotificationUpdate.Cancel(notificationId)
46-
}
4745
val notificationTunnelState =
4846
tunnelState(
4947
tunnelState,

0 commit comments

Comments
 (0)