mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Merge pull request #540 from domdomegg/tidySettings
Remove unused code in settingsFragment
This commit is contained in:
commit
b0b6e9bfd3
6 changed files with 29 additions and 28 deletions
|
|
@ -8,10 +8,10 @@
|
|||
<item>@string/license_name_cc_by_sa_four</item>
|
||||
</array>
|
||||
<array name="pref_defaultLicense_values">
|
||||
<item>@string/license_name_cc0</item>
|
||||
<item>@string/license_name_cc_by_3_0</item>
|
||||
<item>@string/license_name_cc_by_4_0</item>
|
||||
<item>@string/license_name_cc_by_sa_3_0</item>
|
||||
<item>@string/license_name_cc_by_sa_4_0</item>
|
||||
<item>@string/license_pref_cc0</item>
|
||||
<item>@string/license_pref_cc_by_3_0</item>
|
||||
<item>@string/license_pref_cc_by_4_0</item>
|
||||
<item>@string/license_pref_cc_by_sa_3_0</item>
|
||||
<item>@string/license_pref_cc_by_sa_4_0</item>
|
||||
</array>
|
||||
</resources>
|
||||
8
app/src/main/res/values/keys.xml
Normal file
8
app/src/main/res/values/keys.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="license_pref_cc0" translatable="false">CC0</string>
|
||||
<string name="license_pref_cc_by_3_0" translatable="false">CC BY 3.0</string>
|
||||
<string name="license_pref_cc_by_sa_3_0" translatable="false">CC BY-SA 3.0</string>
|
||||
<string name="license_pref_cc_by_4_0" translatable="false">CC BY 4.0</string>
|
||||
<string name="license_pref_cc_by_sa_4_0" translatable="false">CC BY-SA 4.0</string>
|
||||
</resources>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
android:title="@string/preference_license"
|
||||
android:entries="@array/pref_defaultLicense_entries"
|
||||
android:entryValues="@array/pref_defaultLicense_values"
|
||||
android:defaultValue="@string/license_name_cc_by_sa_4_0"
|
||||
android:defaultValue="@string/license_pref_cc_by_sa_4_0"
|
||||
/>
|
||||
|
||||
<CheckBoxPreference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue