mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 12:51:16 +00:00
Clear webview cache (fixes #374)
This commit is contained in:
parent
cdffed64af
commit
3f332e8b8b
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ public class WebGuiActivity extends SyncthingActivity implements SyncthingServic
|
||||||
mWebView = (WebView) findViewById(R.id.webview);
|
mWebView = (WebView) findViewById(R.id.webview);
|
||||||
mWebView.getSettings().setJavaScriptEnabled(true);
|
mWebView.getSettings().setJavaScriptEnabled(true);
|
||||||
mWebView.setWebViewClient(mWebViewClient);
|
mWebView.setWebViewClient(mWebViewClient);
|
||||||
|
mWebView.clearCache(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue