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