From e1bf5de61f5e92ca0aed2d1be434623fb68a2470 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Wed, 5 Oct 2022 17:00:26 +0200 Subject: [PATCH] neon: Set better defaults for system tray and startup options --- packages/neon/lib/src/utils/global_options.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/neon/lib/src/utils/global_options.dart b/packages/neon/lib/src/utils/global_options.dart index 7e8dd2f8..17d19977 100644 --- a/packages/neon/lib/src/utils/global_options.dart +++ b/packages/neon/lib/src/utils/global_options.dart @@ -163,7 +163,7 @@ class GlobalOptions { storage: _storage, key: 'startup-minimize-instead-of-exit', label: (final context) => AppLocalizations.of(context).globalOptionsStartupMinimizeInsteadOfExit, - defaultValue: BehaviorSubject.seeded(true), + defaultValue: BehaviorSubject.seeded(false), ); // TODO: Autostart option @@ -172,7 +172,7 @@ class GlobalOptions { storage: _storage, key: 'systemtray-enabled', label: (final context) => AppLocalizations.of(context).globalOptionsSystemTrayEnabled, - defaultValue: BehaviorSubject.seeded(true), + defaultValue: BehaviorSubject.seeded(false), ); late final systemTrayHideToTrayWhenMinimized = ToggleOption(