Showing
5 changed files
with
6 additions
and
6 deletions
No preview for this file type
... | @@ -172,7 +172,7 @@ import UIKit | ... | @@ -172,7 +172,7 @@ import UIKit |
172 | func getProfileCallback (_ profileData: swiftApi.ProfileModel?) -> Void { | 172 | func getProfileCallback (_ profileData: swiftApi.ProfileModel?) -> Void { |
173 | if (profileData != nil) { | 173 | if (profileData != nil) { |
174 | DispatchQueue.main.async { | 174 | DispatchQueue.main.async { |
175 | - self.numbersList = profileData?.msisdnList ?? [] | 175 | + self.numbersList = profileData?._msisdnList ?? [] |
176 | 176 | ||
177 | print("========= getProfileRequest SUCCESSSS =========") | 177 | print("========= getProfileRequest SUCCESSSS =========") |
178 | } | 178 | } | ... | ... |
... | @@ -114,7 +114,7 @@ import UIKit | ... | @@ -114,7 +114,7 @@ import UIKit |
114 | func getProfileCallback (_ profileData: swiftApi.ProfileModel?) -> Void { | 114 | func getProfileCallback (_ profileData: swiftApi.ProfileModel?) -> Void { |
115 | if (profileData != nil) { | 115 | if (profileData != nil) { |
116 | DispatchQueue.main.async { | 116 | DispatchQueue.main.async { |
117 | - self.numbersList = profileData?.msisdnList ?? [] | 117 | + self.numbersList = profileData?._msisdnList ?? [] |
118 | } | 118 | } |
119 | } else { | 119 | } else { |
120 | } | 120 | } | ... | ... |
... | @@ -69,15 +69,15 @@ import SwiftEventBus | ... | @@ -69,15 +69,15 @@ import SwiftEventBus |
69 | profileImage.layer.borderWidth = 1 | 69 | profileImage.layer.borderWidth = 1 |
70 | profileImage.layer.borderColor = UIColor(red: 0.13, green: 0.66, blue: 0.71, alpha: 1.00).cgColor | 70 | profileImage.layer.borderColor = UIColor(red: 0.13, green: 0.66, blue: 0.71, alpha: 1.00).cgColor |
71 | 71 | ||
72 | - if (profile != nil && profile?.image_url != nil && profile?.image_url != "") { | 72 | + if (profile != nil && profile?._image_url != nil && profile?._image_url != "") { |
73 | - profileImage.load(link: profile?.image_url ?? "", placeholder: UIImage(), cache: URLCache()) | 73 | + profileImage.load(link: profile?._image_url ?? "", placeholder: UIImage(), cache: URLCache()) |
74 | } else { | 74 | } else { |
75 | profileImage.image = UIImage(named: "default_profile_image", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil) | 75 | profileImage.image = UIImage(named: "default_profile_image", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil) |
76 | } | 76 | } |
77 | 77 | ||
78 | - print("Profile Name: " + (profile?.firstname ?? "") + " " + (profile?.lastname ?? "")) | 78 | + print("Profile Name: " + (profile?._firstname ?? "") + " " + (profile?._lastname ?? "")) |
79 | 79 | ||
80 | - profileNameLabel.text = (profile?.firstname ?? "") + " " + (profile?.lastname ?? "") | 80 | + profileNameLabel.text = (profile?._firstname ?? "") + " " + (profile?._lastname ?? "") |
81 | 81 | ||
82 | let userTag = swiftApi().getUserTag() | 82 | let userTag = swiftApi().getUserTag() |
83 | print("User tag: " + userTag) | 83 | print("User tag: " + userTag) | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment