Schedule page: Use AdwSwitchRow

This commit is contained in:
Romain Vigier
2024-03-04 15:17:43 +00:00
parent bd885e1efa
commit d09471a05e
+1 -7
View File
@@ -12,14 +12,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
<object class="AdwPreferencesGroup"> <object class="AdwPreferencesGroup">
<property name="description" translatable="yes">Your location will be used to calculate the current sunrise and sunset times. If you prefer, you can set a manual schedule. It will also be used when your location is unavailable.</property> <property name="description" translatable="yes">Your location will be used to calculate the current sunrise and sunset times. If you prefer, you can set a manual schedule. It will also be used when your location is unavailable.</property>
<child> <child>
<object class="AdwActionRow"> <object class="AdwSwitchRow" id="manual_schedule_switch">
<property name="title" translatable="yes">Manual schedule</property> <property name="title" translatable="yes">Manual schedule</property>
<property name="activatable-widget">manual_schedule_switch</property>
<child>
<object class="GtkSwitch" id="manual_schedule_switch">
<property name="valign">center</property>
</object>
</child>
</object> </object>
</child> </child>
<child> <child>