update notification key in dependencies

This commit is contained in:
adbenitez 2024-07-10 15:05:07 +02:00
parent 5eafe6ad49
commit 4e404511a4

View file

@ -8,14 +8,14 @@
android:defaultValue="true" />
<Preference
android:dependency="pref_key_enable_notifications"
android:dependency="pref_enable_notifications"
android:key="pref_key_ringtone"
android:title="@string/pref_sound"
android:persistent="false"
android:defaultValue="content://settings/system/notification_sound" />
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
android:dependency="pref_key_enable_notifications"
android:dependency="pref_enable_notifications"
android:key="pref_key_vibrate"
android:defaultValue="true"
android:title="@string/pref_vibrate"/>
@ -24,14 +24,14 @@
android:key="pref_led_color"
android:defaultValue="purple"
android:title="@string/pref_led_color"
android:dependency="pref_key_enable_notifications"
android:dependency="pref_enable_notifications"
android:entries="@array/pref_led_color_entries"
android:entryValues="@array/pref_led_color_values" />
<ListPreference
android:key="pref_notification_privacy"
android:title="@string/pref_notifications_show"
android:dependency="pref_key_enable_notifications"
android:dependency="pref_enable_notifications"
android:defaultValue="all"
android:entries="@array/pref_notification_privacy_entries"
android:entryValues="@array/pref_notification_privacy_values"/>
@ -39,7 +39,7 @@
<ListPreference
android:key="pref_notification_priority"
android:title="@string/pref_notifications_priority"
android:dependency="pref_key_enable_notifications"
android:dependency="pref_enable_notifications"
android:defaultValue="1"
android:entries="@array/pref_notification_priority_entries"
android:entryValues="@array/pref_notification_priority_values"/>