Commit 475d21c2 by Demid Merzlyakov

IOS-74: fix main thread warning.

parent d88342a7
......@@ -160,8 +160,10 @@ class CCPAHelper {
AppsFlyerLib.shared().isStopped = !canCollectData
if canCollectData {
let appDelegate = UIApplication.shared.delegate as? AppDelegate
appDelegate?.initializeAppsFlyer()
onMain {
let appDelegate = UIApplication.shared.delegate as? AppDelegate
appDelegate?.initializeAppsFlyer()
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment