Skip to content

Commit

Permalink
Merge branch 'invalid-side-effect-collect-droid-1322'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Sep 17, 2024
2 parents 9a8c583 + 21a8812 commit a87b105
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fun MullvadApp() {
val launchVpnPermission =
rememberLauncherForActivityResult(RequestVpnPermission()) { _ -> permissionVm.connect() }
LaunchedEffect(Unit) {
changeLogsViewModel.uiSideEffect.collect {
permissionVm.uiSideEffect.collect {
if (it is VpnPermissionSideEffect.ShowDialog) {
launchVpnPermission.launch(Unit)
}
Expand Down

0 comments on commit a87b105

Please sign in to comment.