mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 01:28:52 -06:00
Add option to make notifications sticky
This commit is contained in:
@@ -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>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user