fix formatting
This commit is contained in:
parent
2e3232caa0
commit
4a23b51cbe
|
@ -324,7 +324,8 @@ public class RCTWebViewManager extends SimpleViewManager<WebView> {
|
|||
evaluateJavascript(script, null);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
||||
try {
|
||||
loadUrl("javascript:" + URLEncoder.encode(script, "UTF-8"));
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
// UTF-8 should always be supported
|
||||
|
|
Loading…
Reference in New Issue