mirror of
https://github.com/tooot-app/app
synced 2025-01-03 05:00:34 +01:00
Fix default theming before selecting
This commit is contained in:
parent
0fc68e56d3
commit
20152790f5
@ -60,6 +60,7 @@ const determineTheme = (
|
||||
const determineDarkTheme = DarkTheme[darkTheme || 'lighter']
|
||||
switch (userTheme) {
|
||||
case 'auto':
|
||||
default:
|
||||
switch (osTheme) {
|
||||
case 'dark':
|
||||
return determineDarkTheme
|
||||
@ -70,8 +71,6 @@ const determineTheme = (
|
||||
return 'light'
|
||||
case 'dark':
|
||||
return determineDarkTheme
|
||||
default:
|
||||
return determineDarkTheme
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user