mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 06:13:52 +02:00
fix flashbang
This commit is contained in:
@@ -75,8 +75,7 @@ function changeAppThemeStyle(themeMode) {
|
||||
let themeConfig = THEME_CONFIG[themeMode];
|
||||
if (!themeConfig) {
|
||||
console.error('Invalid theme mode:', themeMode);
|
||||
// load system theme as fallback
|
||||
themeMode = systemIsDarkMode() ? 'dark' : 'light';
|
||||
themeMode = 'dark';
|
||||
themeConfig = THEME_CONFIG[themeMode];
|
||||
const appSettingsStore = useAppearanceSettingsStore();
|
||||
appSettingsStore.setThemeMode(themeMode);
|
||||
|
||||
Reference in New Issue
Block a user