Skip to content

Commit

Permalink
properly remove duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Jun 27, 2019
1 parent eea28a7 commit 6d59df4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
<item>DARK</item>
</string-array>

<string-array name="pref_entries_overpass_url_select" translatable="false">
<item>"https://overpass-api.de/api/"</item>
<item>"https://overpass.kumi.systems/api/"</item>
</string-array>

<string-array name="pref_entryvalues_overpass_url_select" translatable="false">
<string-array name="pref_overpass_url_select" translatable="false">
<item>"https://overpass-api.de/api/"</item>
<item>"https://overpass.kumi.systems/api/"</item>
</string-array>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
android:title="@string/pref_title_overpass_url_select"
android:summary="@string/pref_title_overpass_url_info"
android:defaultValue="https://overpass-api.de/api/"
android:entries="@array/pref_entries_overpass_url_select"
android:entryValues="@array/pref_entryvalues_overpass_url_select"
android:entries="@array/pref_overpass_url_select"
android:entryValues="@array/pref_overpass_url_select"
android:persistent="true"
/>
</PreferenceCategory>
Expand Down

0 comments on commit 6d59df4

Please sign in to comment.