aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/data
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2025-10-05 13:35:41 +0200
committerfiaxh <git@lightrise.org>2025-10-05 17:59:08 +0200
commite14c7d933bfa0bdd97781857b9341854232058a2 (patch)
treee302c07398dad3196a87a99843d9383ef116cb25 /plugins/omemo/data
parent6d8ccb414529c017ef1b8a52499b7bbdb6432adb (diff)
Adjust to Adw 1.4: Use specialized ActionRows
Diffstat (limited to 'plugins/omemo/data')
-rw-r--r--plugins/omemo/data/encryption_preferences_entry.ui18
1 files changed, 2 insertions, 16 deletions
diff --git a/plugins/omemo/data/encryption_preferences_entry.ui b/plugins/omemo/data/encryption_preferences_entry.ui
index 6987c202..1aa1a541 100644
--- a/plugins/omemo/data/encryption_preferences_entry.ui
+++ b/plugins/omemo/data/encryption_preferences_entry.ui
@@ -12,24 +12,10 @@
<child>
<object class="AdwPreferencesGroup">
<child>
- <object class="AdwActionRow" id="encrypt_by_default_row">
- <child type="suffix">
- <object class="GtkSwitch" id="encrypt_by_default_switch">
- <property name="valign">center</property>
- </object>
- </child>
- </object>
+ <object class="AdwSwitchRow" id="encrypt_by_default_row" />
</child>
<child>
- <!-- TODO: make this a SwitchRow once we depend on Adwaita 1.4-->
- <object class="AdwActionRow" id="automatically_accept_new_row">
- <property name="activatable-widget">automatically_accept_new_switch</property>
- <child type="suffix">
- <object class="GtkSwitch" id="automatically_accept_new_switch">
- <property name="valign">center</property>
- </object>
- </child>
- </object>
+ <object class="AdwSwitchRow" id="automatically_accept_new_row" />
</child>
</object>
</child>