Remove cache size setting. Add advanced settings section. Other minor changes.

This commit is contained in:
inorichi
2016-01-02 21:09:46 +01:00
parent 77d2e6643a
commit 453a187938
17 changed files with 178 additions and 166 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<Preference
android:title="@string/pref_clear_chapter_cache"
android:key="@string/pref_clear_chapter_cache_key" />
<Preference
android:title="@string/pref_clear_database"
android:key="@string/pref_clear_database_key"
android:summary="@string/pref_clear_database_summary"/>
</PreferenceScreen>

View File

@@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<eu.kanade.mangafeed.ui.setting.preference.IntListPreference
android:title="@string/pref_chapter_cache_size"
android:key="@string/pref_chapter_cache_size_key"
android:entries="@array/cache_size"
android:entryValues="@array/cache_values"
android:summary="%s"
android:defaultValue="75"/>
<Preference
android:title="@string/pref_clear_chapter_cache"
android:key="@string/pref_clear_chapter_cache_key" />
</PreferenceScreen>

View File

@@ -22,9 +22,9 @@
android:title="@string/pref_category_accounts" />
<Preference
android:key="@string/pref_category_cache_key"
android:key="@string/pref_category_advanced_key"
android:persistent="false"
android:title="@string/pref_category_cache" />
android:title="@string/pref_category_advanced" />
<Preference
android:key="@string/pref_category_about_key"