aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/data/encryption_preferences_entry.ui
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/omemo/data/encryption_preferences_entry.ui')
-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>