Skip to content

Commit

Permalink
Merge pull request #701 from OneSignal/fix/fix-potential-crash-on-lau…
Browse files Browse the repository at this point in the history
…nch-for-duration-iam-trigger

Fixing potential crash on launch when evaluating duration based IAM triggers
  • Loading branch information
emawby authored Jun 29, 2020
2 parents c99c12d + 57f0458 commit a0aa0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iOS_SDK/OneSignalSDK/Source/OSMessagingController.m
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ - (instancetype)init {
self.currentPromptAction = nil;
self.isAppInactive = NO;
// BOOL that controls if in-app messaging is paused or not (false by default)
[self setInAppMessagingPaused:false];
_isInAppMessagingPaused = false;
}

return self;
Expand Down

0 comments on commit a0aa0e6

Please sign in to comment.