Commit 07ed484 1 parent efcc10c commit 07ed484 Copy full SHA for 07ed484
File tree 2 files changed +2
-4
lines changed
call/impl/src/main/kotlin/io/element/android/features/call/impl/ui
login/impl/src/main/kotlin/io/element/android/features/login/impl
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -233,9 +233,7 @@ class CallScreenPresenter @AssistedInject constructor(
233
233
}
234
234
onDispose {
235
235
// Make sure we mark the call as ended in the app state
236
- if (appForegroundStateService.isInCall.value) {
237
- appForegroundStateService.updateIsInCallState(false )
238
- }
236
+ appForegroundStateService.updateIsInCallState(false )
239
237
}
240
238
}
241
239
}
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ class LoginFlowNode @AssistedInject constructor(
199
199
200
200
@Composable
201
201
override fun View (modifier : Modifier ) {
202
- activity = LocalActivity .current
202
+ activity = requireNotNull( LocalActivity .current)
203
203
darkTheme = ! ElementTheme .isLightTheme
204
204
DisposableEffect (Unit ) {
205
205
onDispose {
You can’t perform that action at this time.
0 commit comments