allow adding minimized button on all desktop platforms
Didn't mean to limit that to Linux
This commit is contained in:
parent
1d4af179d4
commit
3c6f9f5da2
1 changed files with 4 additions and 6 deletions
|
|
@ -103,12 +103,10 @@ class SettingsSectionsController
|
||||||
subtitle: Text(description),
|
subtitle: Text(description),
|
||||||
secondary: Icon(icon),
|
secondary: Icon(icon),
|
||||||
value: settings.showMinimizeButton,
|
value: settings.showMinimizeButton,
|
||||||
onChanged: Platform.isLinux
|
onChanged: (value) => ref
|
||||||
? (value) => ref
|
|
||||||
.watch(SettingsController.provider.notifier)
|
.watch(SettingsController.provider.notifier)
|
||||||
.set(settings.copyWith(showMinimizeButton: value))
|
.set(settings.copyWith(showMinimizeButton: value))
|
||||||
.onError(showError)
|
.onError(showError),
|
||||||
: null,
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
.new(
|
.new(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue