change "default" to "automatic" to not use a reserved keyword

....which somehow still ran
This commit is contained in:
Ivy Collective
2026-08-29 19:20:08 -04:00
parent e99be2b145
commit a07b8889e9
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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);
+1 -1
View File
@@ -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"
},