diff --git a/src/prefs.js b/src/prefs.js
index 55936236..570f7420 100644
--- a/src/prefs.js
+++ b/src/prefs.js
@@ -553,6 +553,11 @@ class ClapperPrefsWindow extends Adw.PreferencesWindow
transient_for: window,
});
+ /* FIXME: old libadwaita compat, should be
+ * normally in prefs UI file */
+ this.can_swipe_back = true;
+ this.can_navigate_back = true;
+
this.show();
}
});
diff --git a/ui/preferences-window.ui b/ui/preferences-window.ui
index fac189a9..2df84d45 100644
--- a/ui/preferences-window.ui
+++ b/ui/preferences-window.ui
@@ -5,7 +5,6 @@
True
True
True
- True
True