From bfc4bb1a83b8fb221b316823eaf3812143b9f52a Mon Sep 17 00:00:00 2001 From: Moyasee Date: Tue, 28 Oct 2025 17:36:11 +0200 Subject: [PATCH] ci: formatting --- src/main/services/process-watcher.ts | 7 +++---- src/renderer/src/pages/settings/settings-behavior.tsx | 6 ++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/main/services/process-watcher.ts b/src/main/services/process-watcher.ts index 9ca40b24..4130daba 100644 --- a/src/main/services/process-watcher.ts +++ b/src/main/services/process-watcher.ts @@ -211,10 +211,9 @@ function onOpenGame(game: Game) { }); // Hide Hydra to tray on game startup if enabled - db - .get(levelKeys.userPreferences, { - valueEncoding: "json", - }) + db.get(levelKeys.userPreferences, { + valueEncoding: "json", + }) .then((userPreferences) => { if (userPreferences?.hideToTrayOnGameStart) { WindowManager.mainWindow?.hide(); diff --git a/src/renderer/src/pages/settings/settings-behavior.tsx b/src/renderer/src/pages/settings/settings-behavior.tsx index bc91fc9d..c5698ef7 100644 --- a/src/renderer/src/pages/settings/settings-behavior.tsx +++ b/src/renderer/src/pages/settings/settings-behavior.tsx @@ -51,10 +51,8 @@ export function SettingsBehavior() { extractFilesByDefault: userPreferences.extractFilesByDefault ?? true, enableSteamAchievements: userPreferences.enableSteamAchievements ?? false, - autoplayGameTrailers: - userPreferences.autoplayGameTrailers ?? true, - hideToTrayOnGameStart: - userPreferences.hideToTrayOnGameStart ?? false, + autoplayGameTrailers: userPreferences.autoplayGameTrailers ?? true, + hideToTrayOnGameStart: userPreferences.hideToTrayOnGameStart ?? false, }); } }, [userPreferences]);