mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-01 22:58:57 +01:00
Add an option to change cache size and clear the cache
This commit is contained in:
16
app/src/main/res/xml/pref_cache.xml
Normal file
16
app/src/main/res/xml/pref_cache.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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>
|
||||
@@ -16,4 +16,9 @@
|
||||
android:persistent="false"
|
||||
android:title="@string/pref_category_accounts" />
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_category_cache_key"
|
||||
android:persistent="false"
|
||||
android:title="@string/pref_category_cache" />
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user