We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7ab252 commit 5afa78dCopy full SHA for 5afa78d
1 file changed
IFTTT SDK/ConnectButtonController.swift
@@ -124,7 +124,11 @@ public class ConnectButtonController {
124
}
125
126
connection?.status = .enabled
127
- ConnectButtonController.update()
+
128
+ // If this connection has native triggers, update native trigger data
129
+ if connection?.hasNativeTriggers ?? false {
130
+ ConnectButtonController.update()
131
+ }
132
133
if let connection = connection {
134
Analytics.shared.track(.StateChange,
0 commit comments