fix SwitchRow parent class

This commit is contained in:
yggverse 2025-07-26 09:04:03 +03:00
parent 4dc18d0d90
commit ae41ff0feb
2 changed files with 6 additions and 14 deletions

View file

@ -62,11 +62,7 @@ impl Proxy for adw::PreferencesDialog {
.title("Interface")
.icon_name("preferences-desktop-display-symbolic")
.build();
p.add(&{
let g = PreferencesGroup::new();
g.add(&misc.widget);
g
});
p.add(&misc.widget);
p
});