mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 01:03:50 +02:00
fix flashbang
This commit is contained in:
@@ -286,9 +286,11 @@ export const useAppearanceSettingsStore = defineStore(
|
||||
);
|
||||
|
||||
function normalizeThemeMode(mode) {
|
||||
return Object.prototype.hasOwnProperty.call(THEME_CONFIG, mode)
|
||||
? mode
|
||||
: 'light';
|
||||
if (Object.prototype.hasOwnProperty.call(THEME_CONFIG, mode)) {
|
||||
return mode;
|
||||
} else {
|
||||
return 'dark';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user