mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-10 20:15:54 +00:00
Merge pull request #376 from Zillode/disable-cache
Clear webview cache (fixes #374)
This commit is contained in:
commit
e77d5a6c12
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ public class WebGuiActivity extends SyncthingActivity
|
||||||
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