mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-14 14:32:49 +01:00
Move clear webview data action to network group
(cherry picked from commit bf0bb5aa88
)
This commit is contained in:
parent
42eaaa497f
commit
867a5a3ea0
@ -143,12 +143,6 @@ class SettingsAdvancedController : SettingsController() {
|
|||||||
titleRes = R.string.pref_auto_clear_chapter_cache
|
titleRes = R.string.pref_auto_clear_chapter_cache
|
||||||
defaultValue = false
|
defaultValue = false
|
||||||
}
|
}
|
||||||
preference {
|
|
||||||
key = "pref_clear_webview_data"
|
|
||||||
titleRes = R.string.pref_clear_webview_data
|
|
||||||
|
|
||||||
onClick { clearWebViewData() }
|
|
||||||
}
|
|
||||||
preference {
|
preference {
|
||||||
key = "pref_clear_database"
|
key = "pref_clear_database"
|
||||||
titleRes = R.string.pref_clear_database
|
titleRes = R.string.pref_clear_database
|
||||||
@ -172,6 +166,12 @@ class SettingsAdvancedController : SettingsController() {
|
|||||||
activity?.toast(R.string.cookies_cleared)
|
activity?.toast(R.string.cookies_cleared)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
preference {
|
||||||
|
key = "pref_clear_webview_data"
|
||||||
|
titleRes = R.string.pref_clear_webview_data
|
||||||
|
|
||||||
|
onClick { clearWebViewData() }
|
||||||
|
}
|
||||||
intListPreference {
|
intListPreference {
|
||||||
key = Keys.dohProvider
|
key = Keys.dohProvider
|
||||||
titleRes = R.string.pref_dns_over_https
|
titleRes = R.string.pref_dns_over_https
|
||||||
|
Loading…
Reference in New Issue
Block a user