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),
|
||||
secondary: Icon(icon),
|
||||
value: settings.showMinimizeButton,
|
||||
onChanged: Platform.isLinux
|
||||
? (value) => ref
|
||||
.watch(SettingsController.provider.notifier)
|
||||
.set(settings.copyWith(showMinimizeButton: value))
|
||||
.onError(showError)
|
||||
: null,
|
||||
onChanged: (value) => ref
|
||||
.watch(SettingsController.provider.notifier)
|
||||
.set(settings.copyWith(showMinimizeButton: value))
|
||||
.onError(showError),
|
||||
),
|
||||
),
|
||||
.new(
|
||||
|
|
|
|||
Loading…
Reference in a new issue