Manos Chorianopoulos

new assets

{
"images" : [
{
"filename" : "default_profile_image_2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "default_profile_image_2 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "default_profile_image_2 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "dfy_logo_colored.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "dfy_logo_colored 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "dfy_logo_colored 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
......@@ -120,7 +120,7 @@ import SwiftEventBus
headerImage.image = UIImage(named: "ic_background_straight", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
dfyEarnImage.image = UIImage(named: "wallet_dfy_earn", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
couponEarnImage.image = UIImage(named: "wallet_coupons_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
dfyLogoImage.image = UIImage(named: "dfy_logo_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
dfyLogoImage.image = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
activeCodeImage.image = UIImage(named: "active_code_logo", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
profileImage.layer.cornerRadius = 32.5
......@@ -130,7 +130,7 @@ import SwiftEventBus
if (profile != nil && !(profile?._image_url is NSNull) && profile?._image_url != nil && profile?._image_url != "") {
profileImage.load(link: profile?._image_url ?? "", placeholder: UIImage(), cache: URLCache())
} else {
profileImage.image = UIImage(named: "default_profile_image", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
profileImage.image = UIImage(named: "default_profile_image_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
}
print("Profile Name: " + (profile?._firstname ?? "") + " " + (profile?._lastname ?? ""))
......@@ -744,7 +744,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
let imageView = UIImageView(frame: CGRect(x: 20, y: 20, width: view.frame.width / 3.5, height: 38))
imageView.contentMode = .scaleAspectFit
if let dfyHeaderImage = UIImage(named: "dfy_logo_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) {
if let dfyHeaderImage = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) {
imageView.image = dfyHeaderImage
}
view.addSubview(imageView)
......