diff --git a/app/src/main/kotlin/org/cru/godtools/ui/languages/downloadable/DownloadableLanguagesLayout.kt b/app/src/main/kotlin/org/cru/godtools/ui/languages/downloadable/DownloadableLanguagesLayout.kt index 8b46af402a..b1af8ec48e 100644 --- a/app/src/main/kotlin/org/cru/godtools/ui/languages/downloadable/DownloadableLanguagesLayout.kt +++ b/app/src/main/kotlin/org/cru/godtools/ui/languages/downloadable/DownloadableLanguagesLayout.kt @@ -16,10 +16,8 @@ import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.ListItem -import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Scaffold import androidx.compose.material3.SearchBar -import androidx.compose.material3.SearchBarDefaults import androidx.compose.material3.Switch import androidx.compose.material3.Text import androidx.compose.runtime.Composable @@ -76,12 +74,7 @@ fun DownloadableLanguagesLayout( onSearch = updateSearchQuery, active = false, onActiveChange = {}, - colors = when { - GodToolsTheme.isLightColorSchemeActive -> SearchBarDefaults.colors( - containerColor = MaterialTheme.colorScheme.surfaceVariant - ) - else -> SearchBarDefaults.colors() - }, + colors = GodToolsTheme.searchBarColors, leadingIcon = { IconButton( onClick = { onEvent(DownloadableLanguagesEvent.NavigateUp) },