From a07b8889e9f2eb6a5dc6dfe56b8a38b75f224dcb Mon Sep 17 00:00:00 2001 From: Ivy Collective Date: Sat, 29 Aug 2026 19:20:08 -0400 Subject: [PATCH] change "default" to "automatic" to not use a reserved keyword ....which somehow still ran --- src/webpage/utils/storage/userPreferences.ts | 6 +++--- translations/en.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/webpage/utils/storage/userPreferences.ts b/src/webpage/utils/storage/userPreferences.ts index a922ddd..64ec0ff 100644 --- a/src/webpage/utils/storage/userPreferences.ts +++ b/src/webpage/utils/storage/userPreferences.ts @@ -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) { Object.assign(this, init); diff --git a/translations/en.json b/translations/en.json index 812624f..e5ca409 100644 --- a/translations/en.json +++ b/translations/en.json @@ -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" },