Added an option to disable the new caching mechanism completely

This commit is contained in:
Viktor De Pasquale 2019-07-09 20:08:59 +02:00 committed by John Wu
parent 9542ca773f
commit 40b683111c
2 changed files with 8 additions and 0 deletions

View File

@ -128,6 +128,8 @@
<string name="settings_general_category">General</string>
<string name="settings_dark_theme_title">Dark Theme</string>
<string name="settings_dark_theme_summary">Enable dark theme.</string>
<string name="settings_download_cache_title">Download Cache</string>
<string name="settings_download_cache_summary">Enables download cache for Magisk and Module zip files.</string>
<string name="settings_clear_cache_title">Clear Repo Cache</string>
<string name="settings_clear_cache_summary">Clear the cached information for online repos. This forces the app to refresh online.</string>
<string name="settings_hide_manager_title">Hide Magisk Manager</string>

View File

@ -15,6 +15,12 @@
android:defaultValue="@string/empty"
android:title="@string/language"/>
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="download_cache"
android:summary="@string/settings_download_cache_summary"
android:title="@string/settings_download_cache_title" />
<Preference
android:key="clear"
android:title="@string/settings_clear_cache_title"