mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-09-09 09:36:02 +00:00
change "default" to "automatic" to not use a reserved keyword
....which somehow still ran
This commit is contained in:
@@ -27,12 +27,12 @@ export const ThemeOptionValues = [
|
||||
ThemeOption.NightSkyAccent,
|
||||
];
|
||||
export const enum ClockFormatOverride {
|
||||
default = "default",
|
||||
automatic = "automatic",
|
||||
show12Hour = "12hour",
|
||||
show24Hour = "24hour",
|
||||
}
|
||||
export const ClockFormatOverrideValues = [
|
||||
ClockFormatOverride.default,
|
||||
ClockFormatOverride.automatic,
|
||||
ClockFormatOverride.show12Hour,
|
||||
ClockFormatOverride.show24Hour,
|
||||
];
|
||||
@@ -53,7 +53,7 @@ export class UserPreferences {
|
||||
checkMemberList = false;
|
||||
gifProvidor?: string;
|
||||
showToday = true;
|
||||
clockFormatOverride: ClockFormatOverride = ClockFormatOverride.default;
|
||||
clockFormatOverride: ClockFormatOverride = ClockFormatOverride.automatic;
|
||||
|
||||
constructor(init?: Partial<UserPreferences>) {
|
||||
Object.assign(this, init);
|
||||
|
||||
@@ -529,7 +529,7 @@
|
||||
"CheckUpdate": "Check for updates",
|
||||
"clockFormatOverride": "Clock format override:",
|
||||
"clockFormatOverrideValues": {
|
||||
"default": "Automatic",
|
||||
"automatic": "Automatic",
|
||||
"12hour": "Use AM/PM",
|
||||
"24hour": "Use 24-hour"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user