mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-05 08:38:56 +01:00
Remove cache size setting. Add advanced settings section. Other minor changes.
This commit is contained in:
13
app/src/main/res/xml/pref_advanced.xml
Normal file
13
app/src/main/res/xml/pref_advanced.xml
Normal 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>
|
||||
@@ -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>
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user