From d0a1c1f3455bee24557c54e6fa5c221002ebd9f0 Mon Sep 17 00:00:00 2001 From: Uwe Trottmann Date: Wed, 17 Jan 2024 18:04:47 +0100 Subject: [PATCH] Compose: restore app bar text and icon colors. --- .../battlelancer/seriesguide/preferences/AboutActivity.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutActivity.kt b/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutActivity.kt index d44b854ded..a1baa6c427 100644 --- a/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutActivity.kt +++ b/app/src/main/java/com/battlelancer/seriesguide/preferences/AboutActivity.kt @@ -92,6 +92,12 @@ class AboutActivity : ComponentActivity() { ) } }, + // Colored text and icons + colors = TopAppBarDefaults.topAppBarColors( + actionIconContentColor = MaterialTheme.colorScheme.primary, + navigationIconContentColor = MaterialTheme.colorScheme.primary, + titleContentColor = MaterialTheme.colorScheme.primary + ), scrollBehavior = scrollBehavior ) }