Showing
4 changed files
with
5 additions
and
1 deletions
No preview for this file type
... | @@ -181,6 +181,7 @@ var timer2: DispatchSourceTimer? | ... | @@ -181,6 +181,7 @@ var timer2: DispatchSourceTimer? |
181 | swiftApi().setUserTag("") | 181 | swiftApi().setUserTag("") |
182 | } | 182 | } |
183 | SwiftEventBus.post("questionnaire", sender: questionnaireEvent) | 183 | SwiftEventBus.post("questionnaire", sender: questionnaireEvent) |
184 | + SwiftEventBus.post("campaigns_retrieved") | ||
184 | } | 185 | } |
185 | } else { | 186 | } else { |
186 | } | 187 | } | ... | ... |
... | @@ -169,6 +169,7 @@ import SwiftEventBus | ... | @@ -169,6 +169,7 @@ import SwiftEventBus |
169 | func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void { | 169 | func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void { |
170 | if (campaignsData != nil) { | 170 | if (campaignsData != nil) { |
171 | DispatchQueue.main.async { | 171 | DispatchQueue.main.async { |
172 | + SwiftEventBus.post("campaigns_retrieved") | ||
172 | } | 173 | } |
173 | } else { | 174 | } else { |
174 | } | 175 | } | ... | ... |
... | @@ -1166,7 +1166,7 @@ public class swiftApi { | ... | @@ -1166,7 +1166,7 @@ public class swiftApi { |
1166 | 1166 | ||
1167 | getCampaignsCallback(sortedCampaigns); | 1167 | getCampaignsCallback(sortedCampaigns); |
1168 | 1168 | ||
1169 | - SwiftEventBus.post("campaigns_retrieved") | 1169 | + // SwiftEventBus.post("campaigns_retrieved") |
1170 | }) | 1170 | }) |
1171 | 1171 | ||
1172 | } else { | 1172 | } else { |
... | @@ -5777,6 +5777,7 @@ public class swiftApi { | ... | @@ -5777,6 +5777,7 @@ public class swiftApi { |
5777 | func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void { | 5777 | func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void { |
5778 | if (campaignsData != nil) { | 5778 | if (campaignsData != nil) { |
5779 | DispatchQueue.main.async { | 5779 | DispatchQueue.main.async { |
5780 | + SwiftEventBus.post("campaigns_retrieved") | ||
5780 | } | 5781 | } |
5781 | } else { | 5782 | } else { |
5782 | } | 5783 | } |
... | @@ -5804,6 +5805,7 @@ public class swiftApi { | ... | @@ -5804,6 +5805,7 @@ public class swiftApi { |
5804 | func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void { | 5805 | func getCampaignsCallback (_ campaignsData: Array<swiftApi.CampaignItemModel>?) -> Void { |
5805 | if (campaignsData != nil) { | 5806 | if (campaignsData != nil) { |
5806 | DispatchQueue.main.async { | 5807 | DispatchQueue.main.async { |
5808 | + SwiftEventBus.post("campaigns_retrieved") | ||
5807 | } | 5809 | } |
5808 | } else { | 5810 | } else { |
5809 | } | 5811 | } | ... | ... |
-
Please register or login to post a comment