diff --git a/prefs.js b/prefs.js
index f19c319..7f0dcd1 100644
--- a/prefs.js
+++ b/prefs.js
@@ -410,7 +410,7 @@ var PreferencesDialog = class PreferencesDialog {
this._settings.set_boolean('show-support-dialog', false);
}
- if (!utils.isGTK4()) {
+ if (!utils.isADW()) {
dialog.close();
}
});
diff --git a/resources/ui/gtk4/prefs.ui b/resources/ui/gtk4/prefs.ui
index c362bc8..ffad045 100644
--- a/resources/ui/gtk4/prefs.ui
+++ b/resources/ui/gtk4/prefs.ui
@@ -38,40 +38,36 @@ SPDX-License-Identifier: GPL-3.0-or-later
Do you want to support Burn-My-Windows?If only one out of ten users would support this project with 1$ / month, I could work full-time on open-source projects!true
-
+