Skip to content

Commit

Permalink
fix(app): Don't unset App Listeners on removeAllListeners (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Dec 1, 2021
1 parent 8451237 commit 17f2ee8
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ public void handleOnBackPressed() {
getActivity().getOnBackPressedDispatcher().addCallback(getActivity(), callback);
}

@Override
@PluginMethod(returnType = PluginMethod.RETURN_NONE)
public void removeAllListeners(PluginCall call) {
super.removeAllListeners(call);
unsetAppListeners();
}

@PluginMethod
public void exitApp(PluginCall call) {
unsetAppListeners();
Expand Down

0 comments on commit 17f2ee8

Please sign in to comment.