From c0a93c813ac3e09be3f8ae08578af382729e0648 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Sat, 14 Jun 2025 22:13:51 -0700 Subject: [PATCH] refactor: Reference "Settings" more consistently --- src/utils/BinaryClockSettings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/BinaryClockSettings.ts b/src/utils/BinaryClockSettings.ts index 6405207..a850ecc 100644 --- a/src/utils/BinaryClockSettings.ts +++ b/src/utils/BinaryClockSettings.ts @@ -13,7 +13,7 @@ const ROUNDNESS_KEY = 'roundness'; const SHOW_HINTS_KEY = 'showHints'; class BinaryClockSettings { - public static async getPreferences() { + public static async getSettings() { return { brightness: await this.getBrightness(), roundness: await this.getRoundness(), @@ -21,7 +21,7 @@ class BinaryClockSettings { }; } - public static async setPreferences(preferences: { + public static async setSettings(preferences: { brightness: number; roundness: number; showHints: boolean; -- 2.51.2