forked from upstream-mirrors/quik
Add preference and data persistence for blocked threads
This commit is contained in:
@@ -164,6 +164,8 @@
|
||||
<string name="pref_delivery_vibrate_summary">Vibrate on message delivery</string>
|
||||
<string name="pref_yappy">Yappy integration</string>
|
||||
<string name="pref_endlessjabber_summary">Enable full support for Yappy</string>
|
||||
<string name="pref_blocked_senders">Blocked senders</string>
|
||||
<string name="pref_blocked_senders_summary">Long-press on a conversation to block messages</string>
|
||||
<string name="pref_mobile_only">Mobile numbers</string>
|
||||
<string name="pref_mobile_only_summary">Only show mobile numbers in contact suggestions</string>
|
||||
<string name="pref_auto_emoji">Automatic emoji</string>
|
||||
@@ -630,6 +632,8 @@
|
||||
<string name="menu_mute_conversation">Mute conversation</string>
|
||||
<!--Menu option to mute conversation-->
|
||||
<string name="menu_unmute_conversation">Unmute conversation</string>
|
||||
<string name="menu_block_conversation">Block conversation</string>
|
||||
<string name="menu_unblock_conversation">Unblock conversation</string>
|
||||
<string name="menu_notification_settings">Notification settings</string>
|
||||
<string name="menu_view_details">View details</string>
|
||||
<string name="menu_mark_read">Mark read</string>
|
||||
|
||||
@@ -89,6 +89,13 @@
|
||||
<PreferenceCategory
|
||||
android:layout="@layout/list_item_preference_category"
|
||||
android:title="@string/pref_category_general">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_blocked_enabled"
|
||||
android:layout="@layout/list_item_preference"
|
||||
android:summary="@string/pref_blocked_senders_summary"
|
||||
android:title="@string/pref_blocked_senders"
|
||||
android:widgetLayout="@layout/view_checkbox" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_key_mobile_only"
|
||||
|
||||
Reference in New Issue
Block a user