Skip to content

Commit

Permalink
Fixing react-native-webview#2468 - Unable to pull refresh in Android
Browse files Browse the repository at this point in the history
  • Loading branch information
fkesheh committed Dec 23, 2022
1 parent c375c43 commit 13e18a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ public void receiveCommand(@NonNull WebView root, String commandId, @Nullable Re
root.goForward();
break;
case "reload":
root.loadUrl( "javascript:window.location.reload( true )" );
root.loadUrl(root.getUrl());
break;
case "stopLoading":
root.stopLoading();
Expand Down

0 comments on commit 13e18a8

Please sign in to comment.