Skip to content

Commit b51b36a

Browse files
Dispatch async instead of sync.
1 parent 893b727 commit b51b36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-sdk/IterableAPIImplementation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ import Foundation
620620

621621
let notificationMetadata = IterableNotificationMetadata.metadata(fromInAppOptions: messageId)
622622

623-
DispatchQueue.main.sync {
623+
DispatchQueue.main.async {
624624
IterableInAppManager.showIterableNotificationHTML(html, trackParams: notificationMetadata, callbackBlock: callbackBlock, backgroundAlpha: backgroundAlpha, padding: edgeInsets)
625625
}
626626

0 commit comments

Comments
 (0)