fix(tray): set default minimize to tray behavior for all platforms
Updated the default behavior for minimizing the application to the system tray, ensuring it is set to false across all platforms, including macOS. This change simplifies the tray configuration logic. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -113,7 +113,7 @@ const destroyAppTray = () => {
|
||||
}
|
||||
}
|
||||
|
||||
const DEFAULT_MINIMIZE_TO_TRAY = isMacOS ? false : true
|
||||
const DEFAULT_MINIMIZE_TO_TRAY = false
|
||||
|
||||
export const getTrayConfig = () => store.get("minimizeToTray") ?? DEFAULT_MINIMIZE_TO_TRAY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user