From 3c6f9f5da2ec4b11285e0ec14f05c39dc903e69f Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Mon, 5 Oct 2026 12:35:18 -0400 Subject: [PATCH] allow adding minimized button on all desktop platforms Didn't mean to limit that to Linux --- lib/controllers/settings_sections.dart | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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(