ci: formatting

This commit is contained in:
Moyasee
2025-10-28 17:36:11 +02:00
parent 120aad6c1c
commit bfc4bb1a83
2 changed files with 5 additions and 8 deletions

View File

@@ -211,10 +211,9 @@ function onOpenGame(game: Game) {
});
// Hide Hydra to tray on game startup if enabled
db
.get<string, UserPreferences | null>(levelKeys.userPreferences, {
valueEncoding: "json",
})
db.get<string, UserPreferences | null>(levelKeys.userPreferences, {
valueEncoding: "json",
})
.then((userPreferences) => {
if (userPreferences?.hideToTrayOnGameStart) {
WindowManager.mainWindow?.hide();

View File

@@ -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]);