Skip to content

Commit 07ed484

Browse files
committed
Nit fixes
1 parent efcc10c commit 07ed484

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/CallScreenPresenter.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,7 @@ class CallScreenPresenter @AssistedInject constructor(
233233
}
234234
onDispose {
235235
// 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)
239237
}
240238
}
241239
}

features/login/impl/src/main/kotlin/io/element/android/features/login/impl/LoginFlowNode.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class LoginFlowNode @AssistedInject constructor(
199199

200200
@Composable
201201
override fun View(modifier: Modifier) {
202-
activity = LocalActivity.current
202+
activity = requireNotNull(LocalActivity.current)
203203
darkTheme = !ElementTheme.isLightTheme
204204
DisposableEffect(Unit) {
205205
onDispose {

0 commit comments

Comments
 (0)