Showing
1 changed file
with
11 additions
and
11 deletions
... | @@ -2122,18 +2122,18 @@ public class swiftApi { | ... | @@ -2122,18 +2122,18 @@ public class swiftApi { |
2122 | } | 2122 | } |
2123 | 2123 | ||
2124 | public func setCampaignList(_ campaigns: Array<CampaignItemModel>) -> Void { | 2124 | public func setCampaignList(_ campaigns: Array<CampaignItemModel>) -> Void { |
2125 | - let userTag = self.getUserTag() | 2125 | + // let userTag = self.getUserTag() |
2126 | - var campaignsArray:Array<CampaignItemModel> = [] | 2126 | + // var campaignsArray:Array<CampaignItemModel> = [] |
2127 | - | 2127 | + |
2128 | - for item in campaigns { | 2128 | + // for item in campaigns { |
2129 | - if (((item._badge == nil) || (item._badge == ""))) { | 2129 | + // if (((item._badge == nil) || (item._badge == ""))) { |
2130 | - campaignsArray.append(item) | 2130 | + // campaignsArray.append(item) |
2131 | - } else if (item._badge == userTag) { | 2131 | + // } else if (item._badge == userTag) { |
2132 | - campaignsArray.append(item) | 2132 | + // campaignsArray.append(item) |
2133 | - } | 2133 | + // } |
2134 | - } | 2134 | + // } |
2135 | 2135 | ||
2136 | - GlobalVariables.campaigns = campaignsArray | 2136 | + GlobalVariables.campaigns = campaigns |
2137 | } | 2137 | } |
2138 | 2138 | ||
2139 | 2139 | ... | ... |
-
Please register or login to post a comment