Skip to content

Commit 61d4f0e

Browse files
committed
hotfix-2
1 parent cdd2f4f commit 61d4f0e

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
@@ -121,8 +121,9 @@ public void handlePushNotification(ReadableMap userInfo, Promise promise) {
121121
if (reactContext != null) {
122122
Context context = reactContext.getApplicationContext();
123123

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

128129
promise.resolve(true);

0 commit comments

Comments
 (0)