Panagiotis Triantafyllou

minor fix

......@@ -420,7 +420,7 @@ public class WarpView extends WebView implements DefaultLifecycleObserver {
EventBus.getDefault().register(this);
if (mWebviewLoaded) {
String scriptSourceInit = "webviewDidFocus(true);";
String scriptSourceInit = "webviewDidFocus(" + String.valueOf(mWebviewLoaded) + ");";
WarpView.this.evaluateJavascript(scriptSourceInit, s -> {
});
......@@ -781,7 +781,7 @@ public class WarpView extends WebView implements DefaultLifecycleObserver {
@Override
public void onPageFinished(WebView view, String url) {
mWebviewLoaded = true;
String scriptSourceInit = "webviewDidFocus(true);";
String scriptSourceInit = "webviewDidFocus(" + String.valueOf(mWebviewLoaded) + ");";
view.evaluateJavascript(scriptSourceInit, s -> {
});
......