Skip to content

Commit

Permalink
Fixed reading the 0th argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
sagrawal31 committed Mar 15, 2019
1 parent e0820d6 commit 94aeaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/OverAppBrowser.java
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ else if (SYSTEM.equals(target)) {
pluginResult.setKeepCallback(true);
this.callbackContext.sendPluginResult(pluginResult);
} else if (action.equals("toggleHardwareBack")) {
this.hadwareBackButton = args.getBoolean(1);
this.hadwareBackButton = args.getBoolean(0);
} else {
return false;
}
Expand Down

0 comments on commit 94aeaa1

Please sign in to comment.