1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-18 11:00:09 +02:00

Add mb_intents summary and make dep for Preferred Audioplayer

This commit is contained in:
Benjamin Swartley 2023-07-08 16:55:32 -04:00 committed by José Rebelo
parent 739bd1b5a8
commit f81ffc3447
2 changed files with 10 additions and 7 deletions

View File

@ -204,6 +204,7 @@
<string name="pref_title_general_autostartonboot">Start automatically</string>
<string name="pref_title_general_autoreconnect">Reconnect automatically</string>
<string name="pref_title_mb_intents">Broadcast Media Button Intents Directly</string>
<string name="pref_summary_mb_intents">Enable if device media control is not working for certain applications</string>
<string name="pref_title_audio_player">Preferred Audioplayer</string>
<string name="pref_default">Default</string>
<string name="pref_header_datetime">Date and Time</string>

View File

@ -28,17 +28,19 @@
android:summaryOn="@string/pref_display_add_device_fab_on"
android:title="@string/pref_display_add_device_fab" />
<ListPreference
android:defaultValue="default"
android:key="audio_player"
android:title="@string/pref_title_audio_player"
android:summary="%s" />
<CheckBoxPreference
android:layout="@layout/preference_checkbox"
android:defaultValue="false"
android:key="mb_intents"
android:title="@string/pref_title_mb_intents" />
android:title="@string/pref_title_mb_intents"
android:summary="@string/pref_summary_mb_intents" />
<ListPreference
android:defaultValue="default"
android:key="audio_player"
android:title="@string/pref_title_audio_player"
android:summary="%s"
android:dependency="mb_intents" />
<PreferenceScreen android:title="@string/pref_title_theme">
<ListPreference