Skip to content

Commit adb3642

Browse files
authored
Merge pull request #37 from zoyi-jin/hotfix2
hotfix-2
2 parents 11906c3 + 61d4f0e commit adb3642

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

android/src/main/java/com/zoyi/channel/rn/RNChannelIO.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ public void handlePushNotification(ReadableMap userInfo, Promise promise) {
122122
Context context = reactContext.getApplicationContext();
123123
}
124124

125-
if (context != null) {
126-
ChannelIO.showPushNotification(context, ParseUtils.toPushNotification(userInfo));
125+
if (context != null) {
126+
ChannelIO.showPushNotification(context, ParseUtils.toPushNotification(userInfo));
127+
}
127128
}
128129

129130
promise.resolve(true);

0 commit comments

Comments
 (0)