Add support for detecting the system theme

This commit is contained in:
Syer10
2021-08-22 19:29:47 -04:00
parent 239e74a2cc
commit a3f157ab81
5 changed files with 14 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ fun SettingsAppearance(navController: BackStack<Route>) {
ChoicePreference(
preference = vm.themeMode,
choices = mapOf(
// ThemeMode.System to R.string.follow_system_settings,
ThemeMode.System to stringResource("theme_follow_system"),
ThemeMode.Light to stringResource("theme_light"),
ThemeMode.Dark to stringResource("theme_dark")
),