mirror of https://github.com/M66B/FairEmail.git
Clear WebView cache
This commit is contained in:
parent
fbd25d4bbb
commit
f0e95c73d0
|
@ -78,6 +78,8 @@ public class ActivityAMP extends ActivityBase {
|
|||
pbWait = findViewById(R.id.pbWait);
|
||||
grpReady = findViewById(R.id.grpReady);
|
||||
|
||||
wvAmp.clearCache(true);
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
boolean overview_mode = prefs.getBoolean("overview_mode", false);
|
||||
boolean safe_browsing = prefs.getBoolean("safe_browsing", false);
|
||||
|
|
|
@ -106,6 +106,8 @@ public class ActivityCode extends ActivityBase {
|
|||
pbWait = findViewById(R.id.pbWait);
|
||||
grpReady = findViewById(R.id.grpReady);
|
||||
|
||||
wvCode.clearCache(true);
|
||||
|
||||
WebSettings settings = wvCode.getSettings();
|
||||
|
||||
settings.setBuiltInZoomControls(true);
|
||||
|
|
Loading…
Reference in New Issue