Schedule Page: Move info text to subtitle
This commit is contained in:
@@ -10,10 +10,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
<property name="icon-name">nightthemeswitcher-schedule-symbolic</property>
|
<property name="icon-name">nightthemeswitcher-schedule-symbolic</property>
|
||||||
<child>
|
<child>
|
||||||
<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>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwSwitchRow" id="manual_schedule_switch">
|
<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="subtitle" translatable="yes">Use a manual schedule instead of the one computed from your location.</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ export default class NightThemeSwitcherPreferences extends ExtensionPreferences
|
|||||||
|
|
||||||
// Set window properties
|
// Set window properties
|
||||||
window.search_enabled = true;
|
window.search_enabled = true;
|
||||||
window.set_default_size(500, 700);
|
window.set_default_size(500, 630);
|
||||||
|
|
||||||
// Add a dummy page until the dynamics imports are done
|
// Add a dummy page until the dynamics imports are done
|
||||||
const dummyPage = new Adw.PreferencesPage();
|
const dummyPage = new Adw.PreferencesPage();
|
||||||
|
|||||||
Reference in New Issue
Block a user