1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-25 22:02:08 +01:00

Fix WebView not being refreshed on local content loading

This commit is contained in:
Dmitriy Bogdanov 2016-07-18 15:51:45 +04:00
parent 147eff61cf
commit 7e4bd4afce
No known key found for this signature in database
GPG key ID: F396CC2653B8F64D

View file

@ -122,7 +122,7 @@ public class Helpers {
// End // End
sb.append("</body></html>"); sb.append("</body></html>");
wv.loadData(sb.toString(), "text/html", "UTF-16"); wv.loadDataWithBaseURL(null, sb.toString(), "text/html", "UTF-16", null);
} }
public static void showFollowedTagsList(final WebView wv, final App app) { public static void showFollowedTagsList(final WebView wv, final App app) {
@ -149,7 +149,7 @@ public class Helpers {
// End // End
sb.append("</body></html>"); sb.append("</body></html>");
wv.loadData(sb.toString(), "text/html", "UTF-16"); wv.loadDataWithBaseURL(null, sb.toString(), "text/html", "UTF-16", null);
} }
} }