Showing
10 changed files
with
49 additions
and
3 deletions
No preview for this file type
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "filename" : "default_profile_image_2.png", | ||
| 5 | + "idiom" : "universal", | ||
| 6 | + "scale" : "1x" | ||
| 7 | + }, | ||
| 8 | + { | ||
| 9 | + "filename" : "default_profile_image_2 1.png", | ||
| 10 | + "idiom" : "universal", | ||
| 11 | + "scale" : "2x" | ||
| 12 | + }, | ||
| 13 | + { | ||
| 14 | + "filename" : "default_profile_image_2 2.png", | ||
| 15 | + "idiom" : "universal", | ||
| 16 | + "scale" : "3x" | ||
| 17 | + } | ||
| 18 | + ], | ||
| 19 | + "info" : { | ||
| 20 | + "author" : "xcode", | ||
| 21 | + "version" : 1 | ||
| 22 | + } | ||
| 23 | +} |
4.75 KB
4.75 KB
4.75 KB
SwiftWarplyFramework/SwiftWarplyFramework/Media.xcassets/dfy_logo_colored.imageset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "filename" : "dfy_logo_colored.png", | ||
| 5 | + "idiom" : "universal", | ||
| 6 | + "scale" : "1x" | ||
| 7 | + }, | ||
| 8 | + { | ||
| 9 | + "filename" : "dfy_logo_colored 1.png", | ||
| 10 | + "idiom" : "universal", | ||
| 11 | + "scale" : "2x" | ||
| 12 | + }, | ||
| 13 | + { | ||
| 14 | + "filename" : "dfy_logo_colored 2.png", | ||
| 15 | + "idiom" : "universal", | ||
| 16 | + "scale" : "3x" | ||
| 17 | + } | ||
| 18 | + ], | ||
| 19 | + "info" : { | ||
| 20 | + "author" : "xcode", | ||
| 21 | + "version" : 1 | ||
| 22 | + } | ||
| 23 | +} |
5.82 KB
5.82 KB
5.82 KB
| ... | @@ -120,7 +120,7 @@ import SwiftEventBus | ... | @@ -120,7 +120,7 @@ import SwiftEventBus |
| 120 | headerImage.image = UIImage(named: "ic_background_straight", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 120 | headerImage.image = UIImage(named: "ic_background_straight", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
| 121 | dfyEarnImage.image = UIImage(named: "wallet_dfy_earn", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 121 | dfyEarnImage.image = UIImage(named: "wallet_dfy_earn", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
| 122 | couponEarnImage.image = UIImage(named: "wallet_coupons_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 122 | couponEarnImage.image = UIImage(named: "wallet_coupons_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
| 123 | - dfyLogoImage.image = UIImage(named: "dfy_logo_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 123 | + dfyLogoImage.image = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
| 124 | activeCodeImage.image = UIImage(named: "active_code_logo", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 124 | activeCodeImage.image = UIImage(named: "active_code_logo", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
| 125 | 125 | ||
| 126 | profileImage.layer.cornerRadius = 32.5 | 126 | profileImage.layer.cornerRadius = 32.5 |
| ... | @@ -130,7 +130,7 @@ import SwiftEventBus | ... | @@ -130,7 +130,7 @@ import SwiftEventBus |
| 130 | if (profile != nil && !(profile?._image_url is NSNull) && profile?._image_url != nil && profile?._image_url != "") { | 130 | if (profile != nil && !(profile?._image_url is NSNull) && profile?._image_url != nil && profile?._image_url != "") { |
| 131 | profileImage.load(link: profile?._image_url ?? "", placeholder: UIImage(), cache: URLCache()) | 131 | profileImage.load(link: profile?._image_url ?? "", placeholder: UIImage(), cache: URLCache()) |
| 132 | } else { | 132 | } else { |
| 133 | - profileImage.image = UIImage(named: "default_profile_image", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 133 | + profileImage.image = UIImage(named: "default_profile_image_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | print("Profile Name: " + (profile?._firstname ?? "") + " " + (profile?._lastname ?? "")) | 136 | print("Profile Name: " + (profile?._firstname ?? "") + " " + (profile?._lastname ?? "")) |
| ... | @@ -744,7 +744,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -744,7 +744,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
| 744 | let imageView = UIImageView(frame: CGRect(x: 20, y: 20, width: view.frame.width / 3.5, height: 38)) | 744 | let imageView = UIImageView(frame: CGRect(x: 20, y: 20, width: view.frame.width / 3.5, height: 38)) |
| 745 | imageView.contentMode = .scaleAspectFit | 745 | imageView.contentMode = .scaleAspectFit |
| 746 | 746 | ||
| 747 | - if let dfyHeaderImage = UIImage(named: "dfy_logo_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) { | 747 | + if let dfyHeaderImage = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) { |
| 748 | imageView.image = dfyHeaderImage | 748 | imageView.image = dfyHeaderImage |
| 749 | } | 749 | } |
| 750 | view.addSubview(imageView) | 750 | view.addSubview(imageView) | ... | ... |
-
Please register or login to post a comment