Skip to content

Commit

Permalink
Update MainActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
htr-tech authored Feb 19, 2025
1 parent 28f01d0 commit 953bb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/example/webapp/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected void onCreate(Bundle savedInstanceState) {
webSettings.setDomStorageEnabled(true);
// webSettings.setAppCacheEnabled(true);
webSettings.setDatabaseEnabled(true);
webSettings.setCacheMode(WebSettings.LOAD_DEFAULT);
webSettings.setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);

mWebView.setWebViewClient(new MyWebViewClient());

Expand Down

0 comments on commit 953bb67

Please sign in to comment.