From 0f9f793bc5d46d826c50f518300ca9f6ffd6efbf Mon Sep 17 00:00:00 2001 From: Nishant Mishra Date: Sun, 30 Nov 2025 11:50:24 +0530 Subject: [PATCH] fix(ui): fix language bottom sheet item readability --- .../settingsScreen/components/LocaleBottomSheet.kt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/nsh07/pomodoro/ui/settingsScreen/components/LocaleBottomSheet.kt b/app/src/main/java/org/nsh07/pomodoro/ui/settingsScreen/components/LocaleBottomSheet.kt index 2872fcf..0bc1d25 100644 --- a/app/src/main/java/org/nsh07/pomodoro/ui/settingsScreen/components/LocaleBottomSheet.kt +++ b/app/src/main/java/org/nsh07/pomodoro/ui/settingsScreen/components/LocaleBottomSheet.kt @@ -125,9 +125,10 @@ fun LocaleBottomSheet( colors = if (currentLocales.isEmpty) ListItemDefaults.colors( - containerColor = colorScheme.primaryContainer.copy( - 0.3f - ) + containerColor = colorScheme.secondaryContainer, + headlineColor = colorScheme.onSecondaryContainer, + leadingIconColor = colorScheme.onSecondaryContainer, + trailingIconColor = colorScheme.onSecondaryContainer ) else listItemColors, modifier = Modifier @@ -169,7 +170,12 @@ fun LocaleBottomSheet( }, colors = if (!currentLocales.isEmpty && it.locale == currentLocales.get(0)) - ListItemDefaults.colors(containerColor = colorScheme.primaryContainer) + ListItemDefaults.colors( + containerColor = colorScheme.secondaryContainer, + headlineColor = colorScheme.onSecondaryContainer, + leadingIconColor = colorScheme.onSecondaryContainer, + trailingIconColor = colorScheme.onSecondaryContainer + ) else listItemColors, modifier = Modifier .clip(