Modern Apps git

← Modern-Apps.git

unblockjam: fix unreadable settings section headings (#650)

Commit
9f842e94cb004ea29177afa0b32f83870ae18dce
Author
vayun-mathur <[email protected]>
When
2026-09-07 00:47 UTC (3 months ago)
Parents
7e98c05

Diff

games/unblockjam/src/main/java/com/vayunmathur/games/unblockjam/Navigation.kt
diff --git a/games/unblockjam/src/main/java/com/vayunmathur/games/unblockjam/Navigation.kt b/games/unblockjam/src/main/java/com/vayunmathur/games/unblockjam/Navigation.ktindex 16b70dfc2e..ec572a41d4 100644--- a/games/unblockjam/src/main/java/com/vayunmathur/games/unblockjam/Navigation.kt+++ b/games/unblockjam/src/main/java/com/vayunmathur/games/unblockjam/Navigation.kt@@ -57,6 +57,7 @@ import com.vayunmathur.library.ui.CardDefaults import com.vayunmathur.library.ui.CircularProgressIndicator import com.vayunmathur.library.ui.DailyReminderSettingsSection import com.vayunmathur.library.ui.DetailScaffold+import com.vayunmathur.library.ui.DynamicTheme import com.vayunmathur.library.ui.ExperimentalMaterial3Api import com.vayunmathur.library.ui.GameCenterScreen import com.vayunmathur.library.ui.IconCheck@@ -126,7 +127,12 @@ fun Navigation(viewModel: UnblockJamViewModel) {                 )             }             entry<Route.Settings> {-                SettingsPage(viewModel, onBack = { backStack.pop() })+                // The board palette maps colorScheme.primary to the board surface, so it is a+                // near-match for the background and unreadable as the accent shared settings rows+                // paint their section headings with.+                DynamicTheme {+                    SettingsPage(viewModel, onBack = { backStack.pop() })+                }             }         }