diff --git a/app/src/main/kotlin/com/tutpro/baresip/AppTheme.kt b/app/src/main/kotlin/com/tutpro/baresip/AppTheme.kt index 97e1a1f9..97584345 100644 --- a/app/src/main/kotlin/com/tutpro/baresip/AppTheme.kt +++ b/app/src/main/kotlin/com/tutpro/baresip/AppTheme.kt @@ -44,8 +44,11 @@ fun AppTheme( } val customColorsPalette = - if (useDarkTheme) DarkCustomColors - else LightCustomColors + (if (useDarkTheme) DarkCustomColors else LightCustomColors).copy( + background = colorScheme.background, + cardBackground = colorScheme.surfaceVariant, + textFieldBackground = colorScheme.surfaceVariant + ) val view = LocalView.current if (!view.isInEditMode) {