1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 22:31:16 +00:00

Clear webview cache (fixes #374)

This commit is contained in:
Lode Hoste 2015-04-29 19:47:37 +02:00
parent cdffed64af
commit 3f332e8b8b

View file

@ -53,6 +53,7 @@ public class WebGuiActivity extends SyncthingActivity implements SyncthingServic
mWebView = (WebView) findViewById(R.id.webview);
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.setWebViewClient(mWebViewClient);
mWebView.clearCache(true);
}
@Override