Skip to content

Commit c663101

Browse files
authored
revert-to-open-only-when-no-initial-notification (#914)
1 parent e8803f5 commit c663101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void onActivityCreated(Activity activity, Bundle savedInstanceState) {
6666

6767
@Override
6868
public void onActivityStarted(Activity activity) {
69-
if (InitialNotificationHolder.getInstance().get() != null) {
69+
if (InitialNotificationHolder.getInstance().get() == null) {
7070
callOnOpenedIfNeed(activity);
7171
}
7272
}

0 commit comments

Comments
 (0)