mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 17:57:34 +00:00
Grey 'LED blink pattern' when LED Color is None
Add BooleanListPreference to allow pref_led_blink to depend on pref_led_color being non-None. Closes #6480
This commit is contained in:

committed by
Moxie Marlinspike

parent
b0b1cdef35
commit
04153a3869
@@ -19,7 +19,7 @@
|
||||
android:title="@string/preferences__vibrate"
|
||||
android:summary="@string/preferences__also_vibrate_when_notified" />
|
||||
|
||||
<ListPreference
|
||||
<org.thoughtcrime.securesms.preferences.BooleanListPreference
|
||||
android:key="pref_led_color"
|
||||
android:defaultValue="blue"
|
||||
android:title="@string/preferences__led_color"
|
||||
@@ -31,7 +31,7 @@
|
||||
android:key="pref_led_blink"
|
||||
android:defaultValue="500,2000"
|
||||
android:title="@string/preferences__pref_led_blink_title"
|
||||
android:dependency="pref_key_enable_notifications"
|
||||
android:dependency="pref_led_color"
|
||||
android:entries="@array/pref_led_blink_pattern_entries"
|
||||
android:entryValues="@array/pref_led_blink_pattern_values" />
|
||||
|
||||
|
Reference in New Issue
Block a user