|
|
@ -94,10 +94,10 @@ class ElementCallActivity : AppCompatActivity(), CallScreenNavigator { |
|
|
|
appPreferencesStore.getThemeFlow().mapToTheme() |
|
|
|
appPreferencesStore.getThemeFlow().mapToTheme() |
|
|
|
} |
|
|
|
} |
|
|
|
.collectAsState(initial = Theme.System) |
|
|
|
.collectAsState(initial = Theme.System) |
|
|
|
val state = presenter.present() |
|
|
|
|
|
|
|
ElementTheme( |
|
|
|
ElementTheme( |
|
|
|
darkTheme = theme.isDark() |
|
|
|
darkTheme = theme.isDark() |
|
|
|
) { |
|
|
|
) { |
|
|
|
|
|
|
|
val state = presenter.present() |
|
|
|
CallScreenView( |
|
|
|
CallScreenView( |
|
|
|
state = state, |
|
|
|
state = state, |
|
|
|
requestPermissions = { permissions, callback -> |
|
|
|
requestPermissions = { permissions, callback -> |
|
|
|