File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/src/main/java/com/duckduckgo/app/global/view Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ import android.content.Context
2020import android.support.design.widget.BottomSheetDialog
2121import android.view.View
2222import android.webkit.CookieManager
23+ import android.webkit.WebStorage
2324import android.webkit.WebView
2425import com.duckduckgo.app.browser.R
2526import kotlinx.android.synthetic.main.sheet_fire_clear_data.*
2627
2728class FireDialog (context : Context ,
28- private val cookieManager : CookieManager ,
29- clearStarted : (() -> Unit ),
29+ private val cookieManager : CookieManager ,
30+ clearStarted : (() -> Unit ),
3031 clearComplete : (() -> Unit )) : BottomSheetDialog(context) {
3132
3233 init {
@@ -35,6 +36,7 @@ class FireDialog(context: Context,
3536 clearAllOption.setOnClickListener {
3637 clearStarted()
3738 clearCache()
39+ WebStorage .getInstance().deleteAllData()
3840 clearCookies(clearComplete)
3941 dismiss()
4042 }
You can’t perform that action at this time.
0 commit comments