diff --git a/lib/controllers/settings_sections.dart b/lib/controllers/settings_sections.dart index 0ba0620..073019a 100644 --- a/lib/controllers/settings_sections.dart +++ b/lib/controllers/settings_sections.dart @@ -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(