Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evanjmg committed Feb 23, 2018
1 parent 693b404 commit 30d44ad
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public RNHomePressedModule(ReactApplicationContext reactContext) {
public static final String ON_RESUME = "ON_RESUME";
public static final String ON_PAUSE = "ON_PAUSE";

@Override
public void onUserLeaveHint() {
try {
this.reactContext
Expand All @@ -47,6 +46,10 @@ public void onHostPause() {
this.reactContext
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
.emit(ON_RESUME, null);
}
@Override
public void onHostDestroy() {

}
@Override
public String getName() {
Expand Down

0 comments on commit 30d44ad

Please sign in to comment.