Manos Chorianopoulos

revert deleting questionnaire campaign

......@@ -33,10 +33,6 @@ public class swiftApi {
public func setUserTag(_ newUserTag: String) -> Void {
UserDefaults.standard.set(newUserTag, forKey: "userTag")
if ((newUserTag != nil) && (newUserTag != "")) {
GlobalVariables.campaigns = GlobalVariables.campaigns.filter { $0.offer_category != "questionnaire" }
}
}
public class DFY {
......@@ -2041,12 +2037,8 @@ public class swiftApi {
}
}
if ((userTag != nil) && (userTag != "")) {
GlobalVariables.campaigns = campaignsArray.filter { $0.offer_category != "questionnaire" }
} else {
GlobalVariables.campaigns = campaignsArray
}
}
public class WarplyDealsAnalysisEventModel {
......@@ -2185,12 +2177,8 @@ public class swiftApi {
}
}
if ((userTag != nil) && (userTag != "")) {
GlobalVariables.campaigns = campaignsArray.filter { $0.offer_category != "questionnaire" }
} else {
GlobalVariables.campaigns = campaignsArray
}
}
public func getCampaignList() -> Array<CampaignItemModel> {
......