mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Cleanup element call and UI (#4641)
* Use ElementTheme.colors.bgCanvasDefault instead of MaterialTheme.colorScheme.background Even if the value is the same, we should use color from ElementTheme. * Remove background management of ElementCallActivity. It does not work as expected and also changing theme during a call would require to load the url again with the new theme. * Do not use isSystemInDarkTheme() directly. * Use bgSubtleSecondary for background color of Preview. * Use default colors for Preview. * Fix copy paste issue. * Update screenshots --------- Co-authored-by: ElementBot <android@element.io>
This commit is contained in:
+2
-2
@@ -49,8 +49,8 @@ fun AdvancedSettingsView(
|
||||
title = stringResource(id = CommonStrings.common_appearance),
|
||||
selectedOption = state.theme,
|
||||
options = ThemeOption.entries.toPersistentList(),
|
||||
onSelectOption = { logLevel ->
|
||||
state.eventSink(AdvancedSettingsEvents.SetTheme(logLevel))
|
||||
onSelectOption = { themeOption ->
|
||||
state.eventSink(AdvancedSettingsEvents.SetTheme(themeOption))
|
||||
}
|
||||
)
|
||||
ListItem(
|
||||
|
||||
Reference in New Issue
Block a user