You've already forked AstralRinth
forked from didirus/AstralRinth
Fix system theme not respecting preferred dark theme. (#1673)
This commit is contained in:
@@ -722,7 +722,9 @@ function toggleBrowseMenu() {
|
||||
}
|
||||
function changeTheme() {
|
||||
updateTheme(
|
||||
DARK_THEMES.includes(app.$colorMode.value) ? 'light' : cosmetics.value.preferredDarkTheme,
|
||||
DARK_THEMES.includes(app.$colorMode.value)
|
||||
? 'light'
|
||||
: cosmetics.value.preferredDarkTheme ?? 'dark',
|
||||
true
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user