From 280c66cdf79d61e999207e3242aa21ee394aa470 Mon Sep 17 00:00:00 2001 From: Noah Durell Date: Wed, 18 Dec 2024 13:22:49 -0500 Subject: [PATCH] fix dispatch call --- Sources/KlaviyoSwift/Klaviyo.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/KlaviyoSwift/Klaviyo.swift b/Sources/KlaviyoSwift/Klaviyo.swift index 0df6c659..858ed096 100644 --- a/Sources/KlaviyoSwift/Klaviyo.swift +++ b/Sources/KlaviyoSwift/Klaviyo.swift @@ -222,6 +222,6 @@ extension KlaviyoSDK { /// - warning: For internal use only. The host app should not manually call this method, as /// the logic for fetching and displaying forms will be handled internally within the SDK. public func fetchForms() { - dispatchOnMainThread(action: .fetchForms) + dispatchStoreAction(action: .fetchForms) } }