You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/in-app-messages/src/main/java/com/onesignal/inAppMessages/internal/triggers/impl/TriggerController.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -59,12 +59,12 @@ internal class TriggerController(
59
59
}
60
60
61
61
val operatorType = trigger.operatorType
62
+
// If trigger is type of NOT_EQUAL_TO, true if only there exists a trigger with the same key and different value.
63
+
// In that case, do not return early so it will evaluate later.
62
64
val deviceValue =
63
65
triggers[trigger.property]
64
-
?:// If we don't have a local value for this trigger, can only be true in two cases;
65
-
// 1. If operator is Not Exists
66
-
// 2. Checking to make sure the key doesn't equal a specific value, other than null of course.
0 commit comments