CallScreenPresenter is reading the current theme, it needs to be in the ElementTheme block. Closes #3153
This commit is contained in:
committed by
Benoit Marty
parent
9856ece42a
commit
c73d814220
+1
-1
@@ -94,10 +94,10 @@ class ElementCallActivity : AppCompatActivity(), CallScreenNavigator {
|
||||
appPreferencesStore.getThemeFlow().mapToTheme()
|
||||
}
|
||||
.collectAsState(initial = Theme.System)
|
||||
val state = presenter.present()
|
||||
ElementTheme(
|
||||
darkTheme = theme.isDark()
|
||||
) {
|
||||
val state = presenter.present()
|
||||
CallScreenView(
|
||||
state = state,
|
||||
requestPermissions = { permissions, callback ->
|
||||
|
||||
Reference in New Issue
Block a user