Add option to make notifications sticky

This commit is contained in:
2016-09-11 10:40:43 -04:00
parent 6e8ea471aa
commit 1a89bb02be
6 changed files with 83 additions and 19 deletions

View File

@@ -185,4 +185,7 @@
<string name="filter">Filter</string>
<string name="hide_completed">Hide completed</string>
<string name="hide_archived">Hide archived</string>
<string name="sticky_notifications">Make notifications sticky</string>
<string name="sticky_notifications_description">Prevents notifications from being swiped away.</string>
</resources>

View File

@@ -62,6 +62,12 @@
android:key="reminderSound"
android:title="@string/reminder_sound"/>
<CheckBoxPreference
android:defaultValue="false"
android:key="pref_sticky_notifications"
android:title="@string/sticky_notifications"
android:summary="@string/sticky_notifications_description"/>
</PreferenceCategory>
<PreferenceCategory