Remove hardcoded string in preferences and move it to strings.xml

This commit is contained in:
Synced Synapse 2016-09-23 18:52:54 +01:00
parent d26599dbc2
commit def026eca4
2 changed files with 2 additions and 1 deletions

View File

@ -326,6 +326,7 @@
<string name="switch_to_remote">Switch to remote after media start</string>
<string name="keep_remote_above_lockscreen">Keep remote above lockscreen</string>
<string name="pref_keep_screen_on">Keep screen on when using remote</string>
<string name="show_notification">Show notification while playing</string>
<string name="pause_during_calls">Pause playing while phone in a call</string>
<string name="use_hardware_volume_keys">Use volume keys to control volume</string>

View File

@ -36,7 +36,7 @@
<CheckBoxPreference
android:key="pref_keep_screen_on"
android:title="Keep screen on when using remote"
android:title="@string/pref_keep_screen_on"
android:defaultValue="false"/>
<CheckBoxPreference