fix formatting

This commit is contained in:
Thibault Malbranche 2018-09-14 00:38:40 +02:00
parent 2e3232caa0
commit 4a23b51cbe
1 changed files with 2 additions and 1 deletions

View File

@ -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