Skip to content

Commit 16fe07b

Browse files
authored
Merge pull request #288 from IFTTT/merge/hotfix_2.6.1_master
master <- hotfix 2.6.1
2 parents ac25769 + 858d64e commit 16fe07b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

IFTTT SDK/ConnectButtonController.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ public class ConnectButtonController {
125125

126126
connection?.status = .enabled
127127

128+
// If this connection has native triggers, update native trigger data
129+
if connection?.hasNativeTriggers ?? false {
130+
ConnectButtonController.update()
131+
}
132+
128133
if let connection = connection {
129134
Analytics.shared.track(.StateChange,
130135
object: connection,

0 commit comments

Comments
 (0)