Manos Chorianopoulos

add setUserTag func

......@@ -11,6 +11,7 @@ import SwiftUI
public struct GlobalVariables {
static var campaigns: Array<swiftApi.CampaignItemModel> = []
static var customerState: swiftApi.CustomerStateModel?
static var userTag: String = ""
}
public class swiftApi {
......@@ -20,7 +21,11 @@ public class swiftApi {
}
public func getUserTag() -> String {
return "1"
return GlobalVariables.userTag
}
public func setUserTag(_ newUserTag: String) -> Void {
GlobalVariables.userTag = newUserTag
}
public class DFY {
......