mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 22:03:50 +02:00
Fix flashbang
This commit is contained in:
@@ -30,10 +30,12 @@ function changeAppThemeStyle(themeMode) {
|
||||
themeMode = systemIsDarkMode() ? 'dark' : 'light';
|
||||
}
|
||||
|
||||
const themeConfig = THEME_CONFIG[themeMode];
|
||||
let themeConfig = THEME_CONFIG[themeMode];
|
||||
if (!themeConfig) {
|
||||
console.error('Invalid theme mode:', themeMode);
|
||||
// load system theme as fallback
|
||||
themeMode = systemIsDarkMode() ? 'dark' : 'light';
|
||||
themeConfig = THEME_CONFIG[themeMode];
|
||||
}
|
||||
|
||||
let filePathPrefix = 'file://vrcx/';
|
||||
|
||||
Reference in New Issue
Block a user