Browse Source

Merge pull request #85 from jld3103/fix/better-systemtray-and-startup-defaults

neon: Set better defaults for system tray and startup options
pull/84/head
jld3103 2 years ago committed by GitHub
parent
commit
d55cc3f0da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/neon/lib/src/utils/global_options.dart

4
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(

Loading…
Cancel
Save