mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 11:41:08 +00:00
fix formatting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user