Merge branch 'midnight_delay_option_2' into dev

This commit is contained in:
2021-01-27 20:06:44 -06:00
6 changed files with 41 additions and 10 deletions

View File

@@ -240,4 +240,6 @@
<string name="pref_unknown_description">Differentiate days without data from actual lapses. To enter a lapse, toggle twice.</string>
<string name="you_are_now_a_developer">You are now a developer</string>
<string name="activity_not_found">No app was found to support this action</string>
</resources>
<string name="pref_midnight_delay_title">Extend day a few hours past midnight</string>
<string name="pref_midnight_delay_description">Wait until 3:00 AM to show a new day. Useful if you typically go to sleep after midnight. Requires app restart.</string>
</resources>

View File

@@ -31,6 +31,13 @@
android:title="@string/pref_toggle_title"
app:iconSpaceReserved="false" />
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_midnight_delay"
android:summary="@string/pref_midnight_delay_description"
android:title="@string/pref_midnight_delay_title"
app:iconSpaceReserved="false" />
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_skip_enabled"
@@ -245,4 +252,4 @@
</PreferenceCategory>
</PreferenceScreen>
</PreferenceScreen>