Manos Chorianopoulos

new assets wallet, history

Showing 25 changed files with 122 additions and 7 deletions
......@@ -54,7 +54,7 @@ import UIKit
activeCodeView.layer.shadowOpacity = 1.0
activeCodeView.layer.shadowRadius = 6.0
activeCodeImage.image = UIImage(named: "active_code_logo", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
activeCodeImage.image = UIImage(named: "active_code_logo_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
if (dfyCoupons.count > 0) {
if (dfyCoupons.count == 1) {
......
......@@ -87,7 +87,7 @@ extension AnalysisHeaderMessageViewCell {
messageLabel.attributedText = coupAttributedString
} else {
itemImage.image = UIImage(named: "ic_gift_circle_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
itemImage.image = UIImage(named: "ic_gift_history", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
let totalCouponDiscount = Float(round(100 * loyaltyBadge._value) / 100)
var totalCouponDiscountString = "0"
......
......@@ -39,7 +39,7 @@ extension AnalysisHeaderViewCell {
if (isMarket == true) {
itemImage.image = UIImage(named: "ic_history_market", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
} else {
itemImage.image = UIImage(named: "ic_gift_circle_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
itemImage.image = UIImage(named: "ic_gift_history", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
}
}
......
{
"images" : [
{
"filename" : "active_code_logo_2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "active_code_logo_2 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "active_code_logo_2 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_empty_wallet_2.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_empty_wallet_2 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_empty_wallet_2 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "ic_gift_history.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "ic_gift_history 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "ic_gift_history 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "wallet_coupons_4.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "wallet_coupons_4 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "wallet_coupons_4 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "wallet_dfy_3.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "wallet_dfy_3 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "wallet_dfy_3 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
......@@ -119,10 +119,10 @@ 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)
dfyEarnImage.image = UIImage(named: "wallet_dfy_3", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
couponEarnImage.image = UIImage(named: "wallet_coupons_4", 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)
activeCodeImage.image = UIImage(named: "active_code_logo_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
if (profile != nil && !(profile?._image_url is NSNull) && profile?._image_url != nil && profile?._image_url != "") {
......@@ -401,7 +401,7 @@ import SwiftEventBus
myPresentsLabel.isHidden = true
}
emptyImage.image = UIImage(named: "ic_empty_wallet", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
emptyImage.image = UIImage(named: "ic_empty_wallet_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
emptyLabel.text = "Δεν έχεις κάποιον ενεργό κωδικό ή κουπόνι! Μπες τώρα στην ενότητα COSMOTE For You και βρες αποκλειστικές προσφορές!"
updateMarketBadge()
......