Showing
11 changed files
with
471 additions
and
112 deletions
No preview for this file type
... | @@ -695,10 +695,11 @@ var timer2: DispatchSourceTimer? | ... | @@ -695,10 +695,11 @@ var timer2: DispatchSourceTimer? |
695 | } else if (eventArray[1] == "loyaltyWallet") { | 695 | } else if (eventArray[1] == "loyaltyWallet") { |
696 | // event:loyaltyWallet | 696 | // event:loyaltyWallet |
697 | SwiftEventBus.post("refresh_vouchers") | 697 | SwiftEventBus.post("refresh_vouchers") |
698 | + SwiftEventBus.post("open_my_rewards") | ||
698 | 699 | ||
699 | - let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 700 | + // let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) |
700 | - let vc = storyboard.instantiateViewController(withIdentifier: "WalletViewController") as! SwiftWarplyFramework.WalletViewController | 701 | + // let vc = storyboard.instantiateViewController(withIdentifier: "WalletViewController") as! SwiftWarplyFramework.WalletViewController |
701 | - self.navigationController?.pushViewController(vc, animated: true) | 702 | + // self.navigationController?.pushViewController(vc, animated: true) |
702 | 703 | ||
703 | } else if (eventArray[1] == "cancel_unified_success") { | 704 | } else if (eventArray[1] == "cancel_unified_success") { |
704 | // event:cancel_unified_success | 705 | // event:cancel_unified_success | ... | ... |
... | @@ -26,7 +26,8 @@ import SwiftEventBus | ... | @@ -26,7 +26,8 @@ import SwiftEventBus |
26 | getCouponsRequest() | 26 | getCouponsRequest() |
27 | 27 | ||
28 | setBackButton() | 28 | setBackButton() |
29 | - setNavigationTitle("GIFTS FOR YOU") | 29 | +// setNavigationTitle("GIFTS FOR YOU") |
30 | + setNavigationTitle("FREE COUPONS") | ||
30 | 31 | ||
31 | // backgroundImage.image = UIImage(named: "coupons_scrollview_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 32 | // backgroundImage.image = UIImage(named: "coupons_scrollview_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
32 | 33 | ... | ... |
... | @@ -74,7 +74,8 @@ import SwiftEventBus | ... | @@ -74,7 +74,8 @@ import SwiftEventBus |
74 | } | 74 | } |
75 | } | 75 | } |
76 | 76 | ||
77 | - setBackButton() | 77 | +// setBackButton() |
78 | + setBackButton("ic_close_3") | ||
78 | setNavigationTitle("Ιστορικό") | 79 | setNavigationTitle("Ιστορικό") |
79 | 80 | ||
80 | // === images === // | 81 | // === images === // |
... | @@ -95,7 +96,7 @@ import SwiftEventBus | ... | @@ -95,7 +96,7 @@ import SwiftEventBus |
95 | historySectionView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | 96 | historySectionView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor |
96 | historySectionView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | 97 | historySectionView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) |
97 | historySectionView.layer.shadowOpacity = 1.0 | 98 | historySectionView.layer.shadowOpacity = 1.0 |
98 | - historySectionView.layer.shadowRadius = 1.0 | 99 | + historySectionView.layer.shadowRadius = 2.0 |
99 | 100 | ||
100 | } | 101 | } |
101 | 102 | ||
... | @@ -205,7 +206,8 @@ import SwiftEventBus | ... | @@ -205,7 +206,8 @@ import SwiftEventBus |
205 | 206 | ||
206 | dfyBannerParentView.backgroundColor = .clear | 207 | dfyBannerParentView.backgroundColor = .clear |
207 | dfyBannerInnerParentView.backgroundColor = .white | 208 | dfyBannerInnerParentView.backgroundColor = .white |
208 | - dfyBannerInnerView.backgroundColor = UIColor(red: 0.46, green: 0.75, blue: 0.45, alpha: 0.05) | 209 | +// dfyBannerInnerView.backgroundColor = UIColor(red: 0.46, green: 0.75, blue: 0.45, alpha: 0.05) |
210 | + dfyBannerInnerView.backgroundColor = .white | ||
209 | dfyBannerInnerParentView.layer.cornerRadius = 16.0 | 211 | dfyBannerInnerParentView.layer.cornerRadius = 16.0 |
210 | dfyBannerInnerView.layer.cornerRadius = 16.0 | 212 | dfyBannerInnerView.layer.cornerRadius = 16.0 |
211 | // dfyBannerInnerView.layer.borderWidth = 1 | 213 | // dfyBannerInnerView.layer.borderWidth = 1 |
... | @@ -214,7 +216,7 @@ import SwiftEventBus | ... | @@ -214,7 +216,7 @@ import SwiftEventBus |
214 | dfyBannerParentView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | 216 | dfyBannerParentView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor |
215 | dfyBannerParentView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | 217 | dfyBannerParentView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) |
216 | dfyBannerParentView.layer.shadowOpacity = 1.0 | 218 | dfyBannerParentView.layer.shadowOpacity = 1.0 |
217 | - dfyBannerParentView.layer.shadowRadius = 1.0 | 219 | + dfyBannerParentView.layer.shadowRadius = 2.0 |
218 | 220 | ||
219 | let totalCouponValueFixed = Float(round(100 * totalCouponValue) / 100) | 221 | let totalCouponValueFixed = Float(round(100 * totalCouponValue) / 100) |
220 | var totalCouponValueString = "0" | 222 | var totalCouponValueString = "0" |
... | @@ -236,7 +238,8 @@ import SwiftEventBus | ... | @@ -236,7 +238,8 @@ import SwiftEventBus |
236 | // === MARKET banner === // | 238 | // === MARKET banner === // |
237 | 239 | ||
238 | marketBannerParentView.backgroundColor = .clear | 240 | marketBannerParentView.backgroundColor = .clear |
239 | - marketBannerInnerView.backgroundColor = UIColor(red: 1.00, green: 0.99, blue: 0.97, alpha: 1.00) | 241 | +// marketBannerInnerView.backgroundColor = UIColor(red: 1.00, green: 0.99, blue: 0.97, alpha: 1.00) |
242 | + marketBannerInnerView.backgroundColor = .white | ||
240 | marketBannerInnerView.layer.cornerRadius = 16.0 | 243 | marketBannerInnerView.layer.cornerRadius = 16.0 |
241 | // marketBannerInnerView.layer.borderWidth = 1 | 244 | // marketBannerInnerView.layer.borderWidth = 1 |
242 | // marketBannerInnerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor | 245 | // marketBannerInnerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor |
... | @@ -244,7 +247,7 @@ import SwiftEventBus | ... | @@ -244,7 +247,7 @@ import SwiftEventBus |
244 | marketBannerParentView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | 247 | marketBannerParentView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor |
245 | marketBannerParentView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | 248 | marketBannerParentView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) |
246 | marketBannerParentView.layer.shadowOpacity = 1.0 | 249 | marketBannerParentView.layer.shadowOpacity = 1.0 |
247 | - marketBannerParentView.layer.shadowRadius = 1.0 | 250 | + marketBannerParentView.layer.shadowRadius = 2.0 |
248 | 251 | ||
249 | let marketDiscount = Float(round(100 * unifiedCouponsDiscount) / 100) | 252 | let marketDiscount = Float(round(100 * unifiedCouponsDiscount) / 100) |
250 | var marketDiscountString = "0" | 253 | var marketDiscountString = "0" |
... | @@ -267,7 +270,8 @@ import SwiftEventBus | ... | @@ -267,7 +270,8 @@ import SwiftEventBus |
267 | // === GFY banner === // | 270 | // === GFY banner === // |
268 | 271 | ||
269 | gfyBannerParentView.backgroundColor = .clear | 272 | gfyBannerParentView.backgroundColor = .clear |
270 | - gfyBannerInnerView.backgroundColor = UIColor(red: 0.96, green: 0.97, blue: 0.98, alpha: 1.00) | 273 | +// gfyBannerInnerView.backgroundColor = UIColor(red: 0.96, green: 0.97, blue: 0.98, alpha: 1.00) |
274 | + gfyBannerInnerView.backgroundColor = .white | ||
271 | gfyBannerInnerView.layer.cornerRadius = 16.0 | 275 | gfyBannerInnerView.layer.cornerRadius = 16.0 |
272 | // gfyBannerInnerView.layer.borderWidth = 1 | 276 | // gfyBannerInnerView.layer.borderWidth = 1 |
273 | // gfyBannerInnerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor | 277 | // gfyBannerInnerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor |
... | @@ -275,7 +279,7 @@ import SwiftEventBus | ... | @@ -275,7 +279,7 @@ import SwiftEventBus |
275 | gfyBannerParentView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | 279 | gfyBannerParentView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor |
276 | gfyBannerParentView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | 280 | gfyBannerParentView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) |
277 | gfyBannerParentView.layer.shadowOpacity = 1.0 | 281 | gfyBannerParentView.layer.shadowOpacity = 1.0 |
278 | - gfyBannerParentView.layer.shadowRadius = 1.0 | 282 | + gfyBannerParentView.layer.shadowRadius = 2.0 |
279 | 283 | ||
280 | var totalCouponDiscountString = "0" | 284 | var totalCouponDiscountString = "0" |
281 | totalCouponDiscountString = String(format: "%.2f", totalCouponDiscount).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil) | 285 | totalCouponDiscountString = String(format: "%.2f", totalCouponDiscount).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil) |
... | @@ -283,7 +287,8 @@ import SwiftEventBus | ... | @@ -283,7 +287,8 @@ import SwiftEventBus |
283 | 287 | ||
284 | let gfyNormalText1 = "Μέχρι τώρα έχεις όφελος " | 288 | let gfyNormalText1 = "Μέχρι τώρα έχεις όφελος " |
285 | let gfyBoldText = totalCouponDiscountString + "€" | 289 | let gfyBoldText = totalCouponDiscountString + "€" |
286 | - let gfyNormalText2 = " από τα GIFTS FOR YOU" | 290 | + let gfyNormalText2 = " από τα FREE COUPONS" |
291 | +// let gfyNormalText2 = " από τα GIFTS FOR YOU" | ||
287 | 292 | ||
288 | let gfyAttributedString = NSMutableAttributedString(string:gfyNormalText1, attributes:attrRegular) | 293 | let gfyAttributedString = NSMutableAttributedString(string:gfyNormalText1, attributes:attrRegular) |
289 | let gfyBoldString = NSMutableAttributedString(string: gfyBoldText, attributes:attrBold) | 294 | let gfyBoldString = NSMutableAttributedString(string: gfyBoldText, attributes:attrBold) | ... | ... |
... | @@ -1675,7 +1675,7 @@ | ... | @@ -1675,7 +1675,7 @@ |
1675 | <nil key="highlightedColor"/> | 1675 | <nil key="highlightedColor"/> |
1676 | </label> | 1676 | </label> |
1677 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1a0-WF-wSk"> | 1677 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1a0-WF-wSk"> |
1678 | - <rect key="frame" x="20" y="76" width="374" height="395"/> | 1678 | + <rect key="frame" x="20" y="20" width="374" height="395"/> |
1679 | <subviews> | 1679 | <subviews> |
1680 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4Ej-do-8n0"> | 1680 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4Ej-do-8n0"> |
1681 | <rect key="frame" x="20" y="20" width="32" height="32"/> | 1681 | <rect key="frame" x="20" y="20" width="32" height="32"/> |
... | @@ -1954,13 +1954,18 @@ | ... | @@ -1954,13 +1954,18 @@ |
1954 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1954 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1955 | <constraints> | 1955 | <constraints> |
1956 | <constraint firstAttribute="trailing" secondItem="0e4-aI-H5J" secondAttribute="trailing" constant="20" id="2Ql-Va-4ZY"/> | 1956 | <constraint firstAttribute="trailing" secondItem="0e4-aI-H5J" secondAttribute="trailing" constant="20" id="2Ql-Va-4ZY"/> |
1957 | + <constraint firstItem="1a0-WF-wSk" firstAttribute="top" secondItem="hgf-0m-HNx" secondAttribute="top" constant="20" id="8aA-R4-JD4"/> | ||
1957 | <constraint firstItem="1a0-WF-wSk" firstAttribute="leading" secondItem="hgf-0m-HNx" secondAttribute="leading" constant="20" id="ShK-m0-o6k"/> | 1958 | <constraint firstItem="1a0-WF-wSk" firstAttribute="leading" secondItem="hgf-0m-HNx" secondAttribute="leading" constant="20" id="ShK-m0-o6k"/> |
1958 | <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="1a0-WF-wSk" secondAttribute="bottom" constant="25" id="b1g-DF-Ixn"/> | 1959 | <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="1a0-WF-wSk" secondAttribute="bottom" constant="25" id="b1g-DF-Ixn"/> |
1959 | <constraint firstItem="0e4-aI-H5J" firstAttribute="top" secondItem="hgf-0m-HNx" secondAttribute="top" constant="25" id="fJo-he-2Zn"/> | 1960 | <constraint firstItem="0e4-aI-H5J" firstAttribute="top" secondItem="hgf-0m-HNx" secondAttribute="top" constant="25" id="fJo-he-2Zn"/> |
1960 | <constraint firstItem="0e4-aI-H5J" firstAttribute="leading" secondItem="hgf-0m-HNx" secondAttribute="leading" constant="20" id="fgF-PW-IJh"/> | 1961 | <constraint firstItem="0e4-aI-H5J" firstAttribute="leading" secondItem="hgf-0m-HNx" secondAttribute="leading" constant="20" id="fgF-PW-IJh"/> |
1961 | <constraint firstAttribute="trailing" secondItem="1a0-WF-wSk" secondAttribute="trailing" constant="20" id="iOp-d9-pbW"/> | 1962 | <constraint firstAttribute="trailing" secondItem="1a0-WF-wSk" secondAttribute="trailing" constant="20" id="iOp-d9-pbW"/> |
1962 | - <constraint firstItem="1a0-WF-wSk" firstAttribute="top" secondItem="0e4-aI-H5J" secondAttribute="bottom" constant="25" id="kFx-hk-7XE"/> | ||
1963 | </constraints> | 1963 | </constraints> |
1964 | + <variation key="default"> | ||
1965 | + <mask key="subviews"> | ||
1966 | + <exclude reference="0e4-aI-H5J"/> | ||
1967 | + </mask> | ||
1968 | + </variation> | ||
1964 | </view> | 1969 | </view> |
1965 | </subviews> | 1970 | </subviews> |
1966 | <constraints> | 1971 | <constraints> |
... | @@ -2032,13 +2037,8 @@ | ... | @@ -2032,13 +2037,8 @@ |
2032 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VHx-uN-GE4" userLabel="Main View"> | 2037 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VHx-uN-GE4" userLabel="Main View"> |
2033 | <rect key="frame" x="0.0" y="48" width="414" height="848"/> | 2038 | <rect key="frame" x="0.0" y="48" width="414" height="848"/> |
2034 | <subviews> | 2039 | <subviews> |
2035 | - <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="1" estimatedSectionFooterHeight="-1" contentViewInsetsToSafeArea="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jYz-96-Lp1"> | 2040 | + <view contentMode="scaleToFill" id="ICd-s2-mfF" userLabel="TableHeaderView"> |
2036 | - <rect key="frame" x="0.0" y="0.0" width="414" height="848"/> | 2041 | + <rect key="frame" x="0.0" y="92" width="414" height="663"/> |
2037 | - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
2038 | - <color key="separatorColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
2039 | - <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
2040 | - <view key="tableHeaderView" contentMode="scaleToFill" id="ICd-s2-mfF" userLabel="TableHeaderView"> | ||
2041 | - <rect key="frame" x="0.0" y="0.0" width="414" height="663"/> | ||
2042 | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | 2042 | <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> |
2043 | <subviews> | 2043 | <subviews> |
2044 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Et1-y7-npI" userLabel="HeaderView"> | 2044 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Et1-y7-npI" userLabel="HeaderView"> |
... | @@ -2437,17 +2437,24 @@ | ... | @@ -2437,17 +2437,24 @@ |
2437 | </constraints> | 2437 | </constraints> |
2438 | <variation key="default"> | 2438 | <variation key="default"> |
2439 | <mask key="subviews"> | 2439 | <mask key="subviews"> |
2440 | + <exclude reference="Et1-y7-npI"/> | ||
2440 | <exclude reference="Ucx-dF-Jr2"/> | 2441 | <exclude reference="Ucx-dF-Jr2"/> |
2441 | <exclude reference="Qch-wV-dhe"/> | 2442 | <exclude reference="Qch-wV-dhe"/> |
2442 | <exclude reference="gdf-s4-2CF"/> | 2443 | <exclude reference="gdf-s4-2CF"/> |
2443 | <exclude reference="zFT-By-XHL"/> | 2444 | <exclude reference="zFT-By-XHL"/> |
2444 | <exclude reference="FiI-Ni-wy4"/> | 2445 | <exclude reference="FiI-Ni-wy4"/> |
2446 | + <exclude reference="8YP-uG-vbV"/> | ||
2445 | </mask> | 2447 | </mask> |
2446 | </variation> | 2448 | </variation> |
2447 | </view> | 2449 | </view> |
2450 | + <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="1" estimatedSectionFooterHeight="-1" contentViewInsetsToSafeArea="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jYz-96-Lp1"> | ||
2451 | + <rect key="frame" x="0.0" y="0.0" width="414" height="848"/> | ||
2452 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
2453 | + <color key="separatorColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
2454 | + <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
2448 | <prototypes> | 2455 | <prototypes> |
2449 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CouponsTableViewCellId" id="PUP-z1-zvb" customClass="CouponsTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | 2456 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CouponsTableViewCellId" id="PUP-z1-zvb" customClass="CouponsTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
2450 | - <rect key="frame" x="0.0" y="718.5" width="414" height="64.5"/> | 2457 | + <rect key="frame" x="0.0" y="55.5" width="414" height="64.5"/> |
2451 | <autoresizingMask key="autoresizingMask"/> | 2458 | <autoresizingMask key="autoresizingMask"/> |
2452 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="PUP-z1-zvb" id="dt2-2B-okP"> | 2459 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="PUP-z1-zvb" id="dt2-2B-okP"> |
2453 | <rect key="frame" x="0.0" y="0.0" width="414" height="64.5"/> | 2460 | <rect key="frame" x="0.0" y="0.0" width="414" height="64.5"/> |
... | @@ -2549,7 +2556,7 @@ | ... | @@ -2549,7 +2556,7 @@ |
2549 | </connections> | 2556 | </connections> |
2550 | </tableViewCell> | 2557 | </tableViewCell> |
2551 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="ActiveCodeTableViewCellId" id="GBJ-mP-Cnk" customClass="ActiveCodeTableViewCell" customModule="SwiftWarplyFramework"> | 2558 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="ActiveCodeTableViewCellId" id="GBJ-mP-Cnk" customClass="ActiveCodeTableViewCell" customModule="SwiftWarplyFramework"> |
2552 | - <rect key="frame" x="0.0" y="783" width="414" height="100"/> | 2559 | + <rect key="frame" x="0.0" y="120" width="414" height="100"/> |
2553 | <autoresizingMask key="autoresizingMask"/> | 2560 | <autoresizingMask key="autoresizingMask"/> |
2554 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="GBJ-mP-Cnk" id="jwr-DB-aSm"> | 2561 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="GBJ-mP-Cnk" id="jwr-DB-aSm"> |
2555 | <rect key="frame" x="0.0" y="0.0" width="414" height="100"/> | 2562 | <rect key="frame" x="0.0" y="0.0" width="414" height="100"/> |
... | @@ -2668,7 +2675,7 @@ | ... | @@ -2668,7 +2675,7 @@ |
2668 | </connections> | 2675 | </connections> |
2669 | </tableViewCell> | 2676 | </tableViewCell> |
2670 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponsTableViewCellId" id="DUH-nG-QWi" customClass="UnifiedCouponsTableViewCell" customModule="SwiftWarplyFramework"> | 2677 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponsTableViewCellId" id="DUH-nG-QWi" customClass="UnifiedCouponsTableViewCell" customModule="SwiftWarplyFramework"> |
2671 | - <rect key="frame" x="0.0" y="883" width="414" height="64.5"/> | 2678 | + <rect key="frame" x="0.0" y="220" width="414" height="64.5"/> |
2672 | <autoresizingMask key="autoresizingMask"/> | 2679 | <autoresizingMask key="autoresizingMask"/> |
2673 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DUH-nG-QWi" id="rx6-wA-MYI"> | 2680 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DUH-nG-QWi" id="rx6-wA-MYI"> |
2674 | <rect key="frame" x="0.0" y="0.0" width="414" height="64.5"/> | 2681 | <rect key="frame" x="0.0" y="0.0" width="414" height="64.5"/> |
... | @@ -2766,7 +2773,7 @@ | ... | @@ -2766,7 +2773,7 @@ |
2766 | </connections> | 2773 | </connections> |
2767 | </tableViewCell> | 2774 | </tableViewCell> |
2768 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBadgesTableViewCellId" id="TeS-tP-Ilh" customClass="WalletBadgesTableViewCell" customModule="SwiftWarplyFramework"> | 2775 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBadgesTableViewCellId" id="TeS-tP-Ilh" customClass="WalletBadgesTableViewCell" customModule="SwiftWarplyFramework"> |
2769 | - <rect key="frame" x="0.0" y="947.5" width="414" height="260"/> | 2776 | + <rect key="frame" x="0.0" y="284.5" width="414" height="260"/> |
2770 | <autoresizingMask key="autoresizingMask"/> | 2777 | <autoresizingMask key="autoresizingMask"/> |
2771 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TeS-tP-Ilh" id="FFV-uA-HHA"> | 2778 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TeS-tP-Ilh" id="FFV-uA-HHA"> |
2772 | <rect key="frame" x="0.0" y="0.0" width="414" height="260"/> | 2779 | <rect key="frame" x="0.0" y="0.0" width="414" height="260"/> |
... | @@ -2993,7 +3000,7 @@ | ... | @@ -2993,7 +3000,7 @@ |
2993 | </connections> | 3000 | </connections> |
2994 | </tableViewCell> | 3001 | </tableViewCell> |
2995 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBannersTableViewCellId" id="fgI-zL-RPZ" customClass="WalletBannersTableViewCell" customModule="SwiftWarplyFramework"> | 3002 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBannersTableViewCellId" id="fgI-zL-RPZ" customClass="WalletBannersTableViewCell" customModule="SwiftWarplyFramework"> |
2996 | - <rect key="frame" x="0.0" y="1207.5" width="414" height="404"/> | 3003 | + <rect key="frame" x="0.0" y="544.5" width="414" height="404"/> |
2997 | <autoresizingMask key="autoresizingMask"/> | 3004 | <autoresizingMask key="autoresizingMask"/> |
2998 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fgI-zL-RPZ" id="gNB-PU-R1J"> | 3005 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fgI-zL-RPZ" id="gNB-PU-R1J"> |
2999 | <rect key="frame" x="0.0" y="0.0" width="414" height="404"/> | 3006 | <rect key="frame" x="0.0" y="0.0" width="414" height="404"/> |
... | @@ -3361,37 +3368,37 @@ | ... | @@ -3361,37 +3368,37 @@ |
3361 | </connections> | 3368 | </connections> |
3362 | </tableViewCell> | 3369 | </tableViewCell> |
3363 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletActiveCouponsTableViewCellId" id="qaY-Zw-d8E" customClass="WalletActiveCouponsTableViewCell" customModule="SwiftWarplyFramework"> | 3370 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletActiveCouponsTableViewCellId" id="qaY-Zw-d8E" customClass="WalletActiveCouponsTableViewCell" customModule="SwiftWarplyFramework"> |
3364 | - <rect key="frame" x="0.0" y="1611.5" width="414" height="103"/> | 3371 | + <rect key="frame" x="0.0" y="948.5" width="414" height="103"/> |
3365 | <autoresizingMask key="autoresizingMask"/> | 3372 | <autoresizingMask key="autoresizingMask"/> |
3366 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qaY-Zw-d8E" id="MoF-lG-k6u"> | 3373 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qaY-Zw-d8E" id="MoF-lG-k6u"> |
3367 | <rect key="frame" x="0.0" y="0.0" width="414" height="103"/> | 3374 | <rect key="frame" x="0.0" y="0.0" width="414" height="103"/> |
3368 | <autoresizingMask key="autoresizingMask"/> | 3375 | <autoresizingMask key="autoresizingMask"/> |
3369 | <subviews> | 3376 | <subviews> |
3370 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="t2C-9l-nWs" userLabel="ParentView"> | 3377 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="t2C-9l-nWs" userLabel="ParentView"> |
3371 | - <rect key="frame" x="0.0" y="0.0" width="414" height="103"/> | 3378 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
3372 | <subviews> | 3379 | <subviews> |
3373 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ago-Pf-BGo"> | 3380 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ago-Pf-BGo"> |
3374 | - <rect key="frame" x="20" y="3" width="111.5" height="97"/> | 3381 | + <rect key="frame" x="20" y="3" width="111.5" height="38"/> |
3375 | <subviews> | 3382 | <subviews> |
3376 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Phm-pC-5YX"> | 3383 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Phm-pC-5YX"> |
3377 | - <rect key="frame" x="0.0" y="0.0" width="111.5" height="97"/> | 3384 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="38"/> |
3378 | <subviews> | 3385 | <subviews> |
3379 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wLH-YV-5Bn"> | 3386 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wLH-YV-5Bn"> |
3380 | - <rect key="frame" x="29.5" y="15" width="52" height="32"/> | 3387 | + <rect key="frame" x="29.5" y="15" width="52" height="0.0"/> |
3381 | <constraints> | 3388 | <constraints> |
3382 | <constraint firstAttribute="height" constant="32" id="EtR-nn-mGe"/> | 3389 | <constraint firstAttribute="height" constant="32" id="EtR-nn-mGe"/> |
3383 | <constraint firstAttribute="width" constant="52" id="cGb-tB-T1G"/> | 3390 | <constraint firstAttribute="width" constant="52" id="cGb-tB-T1G"/> |
3384 | </constraints> | 3391 | </constraints> |
3385 | </imageView> | 3392 | </imageView> |
3386 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wBk-nW-MGe" userLabel="LineView1"> | 3393 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wBk-nW-MGe" userLabel="LineView1"> |
3387 | - <rect key="frame" x="10" y="57" width="91.5" height="1"/> | 3394 | + <rect key="frame" x="10" y="25" width="91.5" height="0.0"/> |
3388 | <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/> | 3395 | <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/> |
3389 | <constraints> | 3396 | <constraints> |
3390 | <constraint firstAttribute="height" constant="1" id="sfB-Gv-awg"/> | 3397 | <constraint firstAttribute="height" constant="1" id="sfB-Gv-awg"/> |
3391 | </constraints> | 3398 | </constraints> |
3392 | </view> | 3399 | </view> |
3393 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DEALS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TZr-sg-ajR"> | 3400 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DEALS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TZr-sg-ajR"> |
3394 | - <rect key="frame" x="5" y="68" width="101.5" height="14"/> | 3401 | + <rect key="frame" x="5" y="23" width="101.5" height="0.0"/> |
3395 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | 3402 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> |
3396 | <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | 3403 | <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> |
3397 | <nil key="highlightedColor"/> | 3404 | <nil key="highlightedColor"/> |
... | @@ -3415,7 +3422,7 @@ | ... | @@ -3415,7 +3422,7 @@ |
3415 | </constraints> | 3422 | </constraints> |
3416 | </view> | 3423 | </view> |
3417 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gr4-DX-CHP"> | 3424 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gr4-DX-CHP"> |
3418 | - <rect key="frame" x="0.0" y="0.0" width="111.5" height="97"/> | 3425 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="38"/> |
3419 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3426 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3420 | <state key="normal" title="Button"/> | 3427 | <state key="normal" title="Button"/> |
3421 | <buttonConfiguration key="configuration" style="plain" title="Button"> | 3428 | <buttonConfiguration key="configuration" style="plain" title="Button"> |
... | @@ -3446,7 +3453,7 @@ | ... | @@ -3446,7 +3453,7 @@ |
3446 | </constraints> | 3453 | </constraints> |
3447 | </view> | 3454 | </view> |
3448 | </subviews> | 3455 | </subviews> |
3449 | - <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/> | 3456 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3450 | <constraints> | 3457 | <constraints> |
3451 | <constraint firstItem="Phm-pC-5YX" firstAttribute="leading" secondItem="Ago-Pf-BGo" secondAttribute="leading" id="JwY-GZ-VO1"/> | 3458 | <constraint firstItem="Phm-pC-5YX" firstAttribute="leading" secondItem="Ago-Pf-BGo" secondAttribute="leading" id="JwY-GZ-VO1"/> |
3452 | <constraint firstAttribute="trailing" secondItem="Phm-pC-5YX" secondAttribute="trailing" id="VXK-t8-Bxd"/> | 3459 | <constraint firstAttribute="trailing" secondItem="Phm-pC-5YX" secondAttribute="trailing" id="VXK-t8-Bxd"/> |
... | @@ -3455,24 +3462,24 @@ | ... | @@ -3455,24 +3462,24 @@ |
3455 | </constraints> | 3462 | </constraints> |
3456 | </view> | 3463 | </view> |
3457 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gZG-f4-H22"> | 3464 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gZG-f4-H22"> |
3458 | - <rect key="frame" x="151.5" y="3" width="111" height="97"/> | 3465 | + <rect key="frame" x="151.5" y="3" width="111" height="38"/> |
3459 | <subviews> | 3466 | <subviews> |
3460 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="qYJ-x0-9v3"> | 3467 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="qYJ-x0-9v3"> |
3461 | - <rect key="frame" x="39.5" y="15" width="32" height="32"/> | 3468 | + <rect key="frame" x="39.5" y="15" width="32" height="0.0"/> |
3462 | <constraints> | 3469 | <constraints> |
3463 | <constraint firstAttribute="height" constant="32" id="Eam-Dq-yk8"/> | 3470 | <constraint firstAttribute="height" constant="32" id="Eam-Dq-yk8"/> |
3464 | <constraint firstAttribute="width" constant="32" id="T94-6W-v1V"/> | 3471 | <constraint firstAttribute="width" constant="32" id="T94-6W-v1V"/> |
3465 | </constraints> | 3472 | </constraints> |
3466 | </imageView> | 3473 | </imageView> |
3467 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f0n-5v-nTc" userLabel="LineView2"> | 3474 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f0n-5v-nTc" userLabel="LineView2"> |
3468 | - <rect key="frame" x="10" y="57" width="91" height="1"/> | 3475 | + <rect key="frame" x="10" y="25" width="91" height="0.0"/> |
3469 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | 3476 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> |
3470 | <constraints> | 3477 | <constraints> |
3471 | <constraint firstAttribute="height" constant="1" id="2h1-Yb-N6x"/> | 3478 | <constraint firstAttribute="height" constant="1" id="2h1-Yb-N6x"/> |
3472 | </constraints> | 3479 | </constraints> |
3473 | </view> | 3480 | </view> |
3474 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Super Market" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fPZ-hU-LRI"> | 3481 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Super Market" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fPZ-hU-LRI"> |
3475 | - <rect key="frame" x="5" y="68" width="101" height="14"/> | 3482 | + <rect key="frame" x="5" y="23" width="101" height="0.0"/> |
3476 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | 3483 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> |
3477 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3484 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
3478 | <nil key="highlightedColor"/> | 3485 | <nil key="highlightedColor"/> |
... | @@ -3496,7 +3503,7 @@ | ... | @@ -3496,7 +3503,7 @@ |
3496 | </constraints> | 3503 | </constraints> |
3497 | </view> | 3504 | </view> |
3498 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tCp-jb-GB2"> | 3505 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tCp-jb-GB2"> |
3499 | - <rect key="frame" x="0.0" y="0.0" width="111" height="97"/> | 3506 | + <rect key="frame" x="0.0" y="0.0" width="111" height="38"/> |
3500 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3507 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3501 | <state key="normal" title="Button"/> | 3508 | <state key="normal" title="Button"/> |
3502 | <buttonConfiguration key="configuration" style="plain" title="Button"> | 3509 | <buttonConfiguration key="configuration" style="plain" title="Button"> |
... | @@ -3507,7 +3514,7 @@ | ... | @@ -3507,7 +3514,7 @@ |
3507 | </connections> | 3514 | </connections> |
3508 | </button> | 3515 | </button> |
3509 | </subviews> | 3516 | </subviews> |
3510 | - <color key="backgroundColor" systemColor="systemBackgroundColor"/> | 3517 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3511 | <constraints> | 3518 | <constraints> |
3512 | <constraint firstItem="fPZ-hU-LRI" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="leading" constant="5" id="3th-pV-Lmq"/> | 3519 | <constraint firstItem="fPZ-hU-LRI" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="leading" constant="5" id="3th-pV-Lmq"/> |
3513 | <constraint firstAttribute="trailing" secondItem="5lx-Id-hmz" secondAttribute="trailing" id="5kB-Wj-Toy"/> | 3520 | <constraint firstAttribute="trailing" secondItem="5lx-Id-hmz" secondAttribute="trailing" id="5kB-Wj-Toy"/> |
... | @@ -3527,24 +3534,24 @@ | ... | @@ -3527,24 +3534,24 @@ |
3527 | </constraints> | 3534 | </constraints> |
3528 | </view> | 3535 | </view> |
3529 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hW7-Fh-jaW"> | 3536 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hW7-Fh-jaW"> |
3530 | - <rect key="frame" x="282.5" y="3" width="111.5" height="97"/> | 3537 | + <rect key="frame" x="282.5" y="3" width="111.5" height="38"/> |
3531 | <subviews> | 3538 | <subviews> |
3532 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="JSL-ST-Uzv"> | 3539 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="JSL-ST-Uzv"> |
3533 | - <rect key="frame" x="40" y="15" width="32" height="32"/> | 3540 | + <rect key="frame" x="40" y="15" width="32" height="0.0"/> |
3534 | <constraints> | 3541 | <constraints> |
3535 | <constraint firstAttribute="width" constant="32" id="hUR-TJ-yVm"/> | 3542 | <constraint firstAttribute="width" constant="32" id="hUR-TJ-yVm"/> |
3536 | <constraint firstAttribute="height" constant="32" id="ll3-xS-hwd"/> | 3543 | <constraint firstAttribute="height" constant="32" id="ll3-xS-hwd"/> |
3537 | </constraints> | 3544 | </constraints> |
3538 | </imageView> | 3545 | </imageView> |
3539 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90x-B7-1Hx" userLabel="LineView3"> | 3546 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90x-B7-1Hx" userLabel="LineView3"> |
3540 | - <rect key="frame" x="10" y="57" width="91.5" height="1"/> | 3547 | + <rect key="frame" x="10" y="25" width="91.5" height="0.0"/> |
3541 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | 3548 | <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> |
3542 | <constraints> | 3549 | <constraints> |
3543 | <constraint firstAttribute="height" constant="1" id="ojI-ru-A13"/> | 3550 | <constraint firstAttribute="height" constant="1" id="ojI-ru-A13"/> |
3544 | </constraints> | 3551 | </constraints> |
3545 | </view> | 3552 | </view> |
3546 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GIFTS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QVo-4f-20j"> | 3553 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GIFTS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QVo-4f-20j"> |
3547 | - <rect key="frame" x="5" y="68" width="101.5" height="14"/> | 3554 | + <rect key="frame" x="5" y="23" width="101.5" height="0.0"/> |
3548 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | 3555 | <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> |
3549 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3556 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
3550 | <nil key="highlightedColor"/> | 3557 | <nil key="highlightedColor"/> |
... | @@ -3568,7 +3575,7 @@ | ... | @@ -3568,7 +3575,7 @@ |
3568 | </constraints> | 3575 | </constraints> |
3569 | </view> | 3576 | </view> |
3570 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CeN-GT-tVP"> | 3577 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CeN-GT-tVP"> |
3571 | - <rect key="frame" x="0.0" y="0.0" width="111.5" height="97"/> | 3578 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="38"/> |
3572 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3579 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3573 | <state key="normal" title="Button"/> | 3580 | <state key="normal" title="Button"/> |
3574 | <buttonConfiguration key="configuration" style="plain" title="Button"> | 3581 | <buttonConfiguration key="configuration" style="plain" title="Button"> |
... | @@ -3579,7 +3586,7 @@ | ... | @@ -3579,7 +3586,7 @@ |
3579 | </connections> | 3586 | </connections> |
3580 | </button> | 3587 | </button> |
3581 | </subviews> | 3588 | </subviews> |
3582 | - <color key="backgroundColor" systemColor="systemBackgroundColor"/> | 3589 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3583 | <constraints> | 3590 | <constraints> |
3584 | <constraint firstItem="JSL-ST-Uzv" firstAttribute="centerX" secondItem="hW7-Fh-jaW" secondAttribute="centerX" id="5LP-wN-xKV"/> | 3591 | <constraint firstItem="JSL-ST-Uzv" firstAttribute="centerX" secondItem="hW7-Fh-jaW" secondAttribute="centerX" id="5LP-wN-xKV"/> |
3585 | <constraint firstAttribute="trailing" secondItem="CeN-GT-tVP" secondAttribute="trailing" id="5hb-Gb-poo"/> | 3592 | <constraint firstAttribute="trailing" secondItem="CeN-GT-tVP" secondAttribute="trailing" id="5hb-Gb-poo"/> |
... | @@ -3644,14 +3651,14 @@ | ... | @@ -3644,14 +3651,14 @@ |
3644 | </connections> | 3651 | </connections> |
3645 | </tableViewCell> | 3652 | </tableViewCell> |
3646 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletVouchersBannerTableViewCellId" id="F1i-u5-1v2" customClass="WalletVouchersBannerTableViewCell" customModule="SwiftWarplyFramework"> | 3653 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletVouchersBannerTableViewCellId" id="F1i-u5-1v2" customClass="WalletVouchersBannerTableViewCell" customModule="SwiftWarplyFramework"> |
3647 | - <rect key="frame" x="0.0" y="1714.5" width="414" height="181"/> | 3654 | + <rect key="frame" x="0.0" y="1051.5" width="414" height="141"/> |
3648 | <autoresizingMask key="autoresizingMask"/> | 3655 | <autoresizingMask key="autoresizingMask"/> |
3649 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="F1i-u5-1v2" id="q9T-Eg-Gxw"> | 3656 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="F1i-u5-1v2" id="q9T-Eg-Gxw"> |
3650 | - <rect key="frame" x="0.0" y="0.0" width="414" height="181"/> | 3657 | + <rect key="frame" x="0.0" y="0.0" width="414" height="141"/> |
3651 | <autoresizingMask key="autoresizingMask"/> | 3658 | <autoresizingMask key="autoresizingMask"/> |
3652 | <subviews> | 3659 | <subviews> |
3653 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FVK-Ht-BOg" userLabel="ParentView"> | 3660 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FVK-Ht-BOg" userLabel="ParentView"> |
3654 | - <rect key="frame" x="0.0" y="0.0" width="414" height="181"/> | 3661 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
3655 | <subviews> | 3662 | <subviews> |
3656 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zKi-zm-jUP"> | 3663 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zKi-zm-jUP"> |
3657 | <rect key="frame" x="20" y="25" width="374" height="1"/> | 3664 | <rect key="frame" x="20" y="25" width="374" height="1"/> |
... | @@ -3661,29 +3668,29 @@ | ... | @@ -3661,29 +3668,29 @@ |
3661 | </constraints> | 3668 | </constraints> |
3662 | </view> | 3669 | </view> |
3663 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0yZ-ge-5qY"> | 3670 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0yZ-ge-5qY"> |
3664 | - <rect key="frame" x="20" y="51" width="374" height="26"/> | 3671 | + <rect key="frame" x="20" y="25" width="374" height="0.0"/> |
3665 | - <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="21"/> | 3672 | + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/> |
3666 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3673 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
3667 | <nil key="highlightedColor"/> | 3674 | <nil key="highlightedColor"/> |
3668 | </label> | 3675 | </label> |
3669 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eBr-vb-7oH"> | 3676 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eBr-vb-7oH"> |
3670 | - <rect key="frame" x="20" y="102" width="374" height="76"/> | 3677 | + <rect key="frame" x="20" y="41" width="374" height="0.0"/> |
3671 | <subviews> | 3678 | <subviews> |
3672 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="U9f-Ar-TCE"> | 3679 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="U9f-Ar-TCE"> |
3673 | - <rect key="frame" x="20" y="20" width="36" height="36"/> | 3680 | + <rect key="frame" x="20" y="18" width="30" height="0.0"/> |
3674 | <constraints> | 3681 | <constraints> |
3675 | - <constraint firstAttribute="width" constant="36" id="06g-Cm-Q4z"/> | 3682 | + <constraint firstAttribute="width" constant="30" id="06g-Cm-Q4z"/> |
3676 | - <constraint firstAttribute="height" constant="36" id="GoZ-qT-Whp"/> | 3683 | + <constraint firstAttribute="height" constant="30" id="GoZ-qT-Whp"/> |
3677 | </constraints> | 3684 | </constraints> |
3678 | </imageView> | 3685 | </imageView> |
3679 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2p1-v2-lAL"> | 3686 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2p1-v2-lAL"> |
3680 | - <rect key="frame" x="66" y="28" width="164" height="20"/> | 3687 | + <rect key="frame" x="60" y="8" width="164" height="20"/> |
3681 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> | 3688 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> |
3682 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 3689 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
3683 | <nil key="highlightedColor"/> | 3690 | <nil key="highlightedColor"/> |
3684 | </label> | 3691 | </label> |
3685 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AKD-A9-ah0"> | 3692 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AKD-A9-ah0"> |
3686 | - <rect key="frame" x="230" y="19" width="17.5" height="18"/> | 3693 | + <rect key="frame" x="224" y="-1" width="17.5" height="18"/> |
3687 | <subviews> | 3694 | <subviews> |
3688 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BwW-J2-1Sz"> | 3695 | <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BwW-J2-1Sz"> |
3689 | <rect key="frame" x="5" y="2" width="7.5" height="14"/> | 3696 | <rect key="frame" x="5" y="2" width="7.5" height="14"/> |
... | @@ -3701,23 +3708,23 @@ | ... | @@ -3701,23 +3708,23 @@ |
3701 | </constraints> | 3708 | </constraints> |
3702 | </view> | 3709 | </view> |
3703 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cSu-mM-1Ep"> | 3710 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cSu-mM-1Ep"> |
3704 | - <rect key="frame" x="334" y="28" width="20" height="20"/> | 3711 | + <rect key="frame" x="337" y="9.5" width="17" height="17"/> |
3705 | <constraints> | 3712 | <constraints> |
3706 | - <constraint firstAttribute="height" constant="20" id="ATK-3R-8Yb"/> | 3713 | + <constraint firstAttribute="height" constant="17" id="ATK-3R-8Yb"/> |
3707 | - <constraint firstAttribute="width" constant="20" id="b27-KV-iS5"/> | 3714 | + <constraint firstAttribute="width" constant="17" id="b27-KV-iS5"/> |
3708 | </constraints> | 3715 | </constraints> |
3709 | </imageView> | 3716 | </imageView> |
3710 | </subviews> | 3717 | </subviews> |
3711 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3718 | <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3712 | <constraints> | 3719 | <constraints> |
3713 | <constraint firstItem="cSu-mM-1Ep" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="2p1-v2-lAL" secondAttribute="trailing" constant="5" id="0RF-Lr-hdi"/> | 3720 | <constraint firstItem="cSu-mM-1Ep" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="2p1-v2-lAL" secondAttribute="trailing" constant="5" id="0RF-Lr-hdi"/> |
3714 | - <constraint firstItem="U9f-Ar-TCE" firstAttribute="top" secondItem="eBr-vb-7oH" secondAttribute="top" constant="20" id="Gnc-a7-lVn"/> | 3721 | + <constraint firstItem="U9f-Ar-TCE" firstAttribute="top" secondItem="eBr-vb-7oH" secondAttribute="top" constant="18" id="Gnc-a7-lVn"/> |
3715 | <constraint firstItem="U9f-Ar-TCE" firstAttribute="leading" secondItem="eBr-vb-7oH" secondAttribute="leading" constant="20" id="O3t-rA-Xoi"/> | 3722 | <constraint firstItem="U9f-Ar-TCE" firstAttribute="leading" secondItem="eBr-vb-7oH" secondAttribute="leading" constant="20" id="O3t-rA-Xoi"/> |
3716 | <constraint firstItem="2p1-v2-lAL" firstAttribute="centerY" secondItem="U9f-Ar-TCE" secondAttribute="centerY" id="bWi-vx-lud"/> | 3723 | <constraint firstItem="2p1-v2-lAL" firstAttribute="centerY" secondItem="U9f-Ar-TCE" secondAttribute="centerY" id="bWi-vx-lud"/> |
3717 | <constraint firstItem="cSu-mM-1Ep" firstAttribute="centerY" secondItem="U9f-Ar-TCE" secondAttribute="centerY" id="bwI-YH-DDm"/> | 3724 | <constraint firstItem="cSu-mM-1Ep" firstAttribute="centerY" secondItem="U9f-Ar-TCE" secondAttribute="centerY" id="bwI-YH-DDm"/> |
3718 | <constraint firstAttribute="trailing" secondItem="cSu-mM-1Ep" secondAttribute="trailing" constant="20" id="fLn-8r-nUC"/> | 3725 | <constraint firstAttribute="trailing" secondItem="cSu-mM-1Ep" secondAttribute="trailing" constant="20" id="fLn-8r-nUC"/> |
3719 | <constraint firstItem="AKD-A9-ah0" firstAttribute="leading" secondItem="2p1-v2-lAL" secondAttribute="trailing" id="hZ8-wn-M57"/> | 3726 | <constraint firstItem="AKD-A9-ah0" firstAttribute="leading" secondItem="2p1-v2-lAL" secondAttribute="trailing" id="hZ8-wn-M57"/> |
3720 | - <constraint firstAttribute="bottom" secondItem="U9f-Ar-TCE" secondAttribute="bottom" constant="20" id="jCC-NV-1nD"/> | 3727 | + <constraint firstAttribute="bottom" secondItem="U9f-Ar-TCE" secondAttribute="bottom" constant="18" id="jCC-NV-1nD"/> |
3721 | <constraint firstItem="2p1-v2-lAL" firstAttribute="leading" secondItem="U9f-Ar-TCE" secondAttribute="trailing" constant="10" id="kv2-9q-gc9"/> | 3728 | <constraint firstItem="2p1-v2-lAL" firstAttribute="leading" secondItem="U9f-Ar-TCE" secondAttribute="trailing" constant="10" id="kv2-9q-gc9"/> |
3722 | <constraint firstItem="AKD-A9-ah0" firstAttribute="centerY" secondItem="2p1-v2-lAL" secondAttribute="centerY" constant="-10" id="vGu-1o-rr0"/> | 3729 | <constraint firstItem="AKD-A9-ah0" firstAttribute="centerY" secondItem="2p1-v2-lAL" secondAttribute="centerY" constant="-10" id="vGu-1o-rr0"/> |
3723 | </constraints> | 3730 | </constraints> |
... | @@ -3727,7 +3734,7 @@ | ... | @@ -3727,7 +3734,7 @@ |
3727 | <constraints> | 3734 | <constraints> |
3728 | <constraint firstItem="eBr-vb-7oH" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="2MW-60-EMV"/> | 3735 | <constraint firstItem="eBr-vb-7oH" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="2MW-60-EMV"/> |
3729 | <constraint firstAttribute="trailing" secondItem="eBr-vb-7oH" secondAttribute="trailing" constant="20" id="6TM-9q-HYX"/> | 3736 | <constraint firstAttribute="trailing" secondItem="eBr-vb-7oH" secondAttribute="trailing" constant="20" id="6TM-9q-HYX"/> |
3730 | - <constraint firstItem="0yZ-ge-5qY" firstAttribute="top" secondItem="zKi-zm-jUP" secondAttribute="bottom" constant="25" id="8jo-Kb-xyG"/> | 3737 | + <constraint firstItem="0yZ-ge-5qY" firstAttribute="top" secondItem="FVK-Ht-BOg" secondAttribute="top" constant="25" id="Bcu-pJ-Cm9"/> |
3731 | <constraint firstItem="zKi-zm-jUP" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="Lm7-Va-CvO"/> | 3738 | <constraint firstItem="zKi-zm-jUP" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="Lm7-Va-CvO"/> |
3732 | <constraint firstItem="0yZ-ge-5qY" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="MO1-TU-QKR"/> | 3739 | <constraint firstItem="0yZ-ge-5qY" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="MO1-TU-QKR"/> |
3733 | <constraint firstItem="eBr-vb-7oH" firstAttribute="top" secondItem="0yZ-ge-5qY" secondAttribute="bottom" constant="25" id="Ozb-9V-wuG"/> | 3740 | <constraint firstItem="eBr-vb-7oH" firstAttribute="top" secondItem="0yZ-ge-5qY" secondAttribute="bottom" constant="25" id="Ozb-9V-wuG"/> |
... | @@ -3736,6 +3743,11 @@ | ... | @@ -3736,6 +3743,11 @@ |
3736 | <constraint firstAttribute="trailing" secondItem="zKi-zm-jUP" secondAttribute="trailing" constant="20" id="m4F-J1-tax"/> | 3743 | <constraint firstAttribute="trailing" secondItem="zKi-zm-jUP" secondAttribute="trailing" constant="20" id="m4F-J1-tax"/> |
3737 | <constraint firstAttribute="bottom" secondItem="eBr-vb-7oH" secondAttribute="bottom" constant="3" id="shf-f6-v9j"/> | 3744 | <constraint firstAttribute="bottom" secondItem="eBr-vb-7oH" secondAttribute="bottom" constant="3" id="shf-f6-v9j"/> |
3738 | </constraints> | 3745 | </constraints> |
3746 | + <variation key="default"> | ||
3747 | + <mask key="subviews"> | ||
3748 | + <exclude reference="zKi-zm-jUP"/> | ||
3749 | + </mask> | ||
3750 | + </variation> | ||
3739 | </view> | 3751 | </view> |
3740 | </subviews> | 3752 | </subviews> |
3741 | <constraints> | 3753 | <constraints> |
... | @@ -3758,17 +3770,17 @@ | ... | @@ -3758,17 +3770,17 @@ |
3758 | </connections> | 3770 | </connections> |
3759 | </tableViewCell> | 3771 | </tableViewCell> |
3760 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletSpinnerTableViewCellId" id="ShU-xo-DhW" customClass="WalletSpinnerTableViewCell" customModule="SwiftWarplyFramework"> | 3772 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletSpinnerTableViewCellId" id="ShU-xo-DhW" customClass="WalletSpinnerTableViewCell" customModule="SwiftWarplyFramework"> |
3761 | - <rect key="frame" x="0.0" y="1895.5" width="414" height="88"/> | 3773 | + <rect key="frame" x="0.0" y="1192.5" width="414" height="44"/> |
3762 | <autoresizingMask key="autoresizingMask"/> | 3774 | <autoresizingMask key="autoresizingMask"/> |
3763 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ShU-xo-DhW" id="U4r-xF-gbA"> | 3775 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ShU-xo-DhW" id="U4r-xF-gbA"> |
3764 | - <rect key="frame" x="0.0" y="0.0" width="414" height="88"/> | 3776 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
3765 | <autoresizingMask key="autoresizingMask"/> | 3777 | <autoresizingMask key="autoresizingMask"/> |
3766 | <subviews> | 3778 | <subviews> |
3767 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hm4-ma-8T7" userLabel="ParentView"> | 3779 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hm4-ma-8T7" userLabel="ParentView"> |
3768 | - <rect key="frame" x="0.0" y="0.0" width="414" height="88"/> | 3780 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
3769 | <subviews> | 3781 | <subviews> |
3770 | <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="large" translatesAutoresizingMaskIntoConstraints="NO" id="Kes-eE-1K8"> | 3782 | <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="large" translatesAutoresizingMaskIntoConstraints="NO" id="Kes-eE-1K8"> |
3771 | - <rect key="frame" x="183" y="20" width="48" height="48"/> | 3783 | + <rect key="frame" x="183" y="20" width="48" height="4"/> |
3772 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3784 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3773 | <constraints> | 3785 | <constraints> |
3774 | <constraint firstAttribute="height" constant="48" id="MxX-gd-WB6"/> | 3786 | <constraint firstAttribute="height" constant="48" id="MxX-gd-WB6"/> |
... | @@ -3798,31 +3810,209 @@ | ... | @@ -3798,31 +3810,209 @@ |
3798 | </connections> | 3810 | </connections> |
3799 | </tableViewCell> | 3811 | </tableViewCell> |
3800 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletQuestionnaireBannerTableViewCellId" id="AKr-2x-5Nd" customClass="WalletQuestionnaireBannerTableViewCell" customModule="SwiftWarplyFramework"> | 3812 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletQuestionnaireBannerTableViewCellId" id="AKr-2x-5Nd" customClass="WalletQuestionnaireBannerTableViewCell" customModule="SwiftWarplyFramework"> |
3801 | - <rect key="frame" x="0.0" y="1983.5" width="414" height="44"/> | 3813 | + <rect key="frame" x="0.0" y="1236.5" width="414" height="44"/> |
3802 | <autoresizingMask key="autoresizingMask"/> | 3814 | <autoresizingMask key="autoresizingMask"/> |
3803 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="AKr-2x-5Nd" id="nPE-tM-hVS"> | 3815 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="AKr-2x-5Nd" id="nPE-tM-hVS"> |
3804 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | 3816 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
3805 | <autoresizingMask key="autoresizingMask"/> | 3817 | <autoresizingMask key="autoresizingMask"/> |
3818 | + <subviews> | ||
3819 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Z9L-1Z-TVa" userLabel="ParentView"> | ||
3820 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | ||
3821 | + <subviews> | ||
3822 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="E7g-cu-Vdm"> | ||
3823 | + <rect key="frame" x="20" y="25" width="374" height="16"/> | ||
3824 | + <subviews> | ||
3825 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oc6-bU-uFZ"> | ||
3826 | + <rect key="frame" x="20" y="15" width="22" height="22"/> | ||
3827 | + <constraints> | ||
3828 | + <constraint firstAttribute="height" constant="22" id="L87-hG-Qde"/> | ||
3829 | + <constraint firstAttribute="width" constant="22" id="M66-dc-yeT"/> | ||
3830 | + </constraints> | ||
3831 | + </imageView> | ||
3832 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Πρόσθεσε τις προτιμήσεις σου" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="amg-yf-Roz"> | ||
3833 | + <rect key="frame" x="52" y="16" width="232.5" height="20"/> | ||
3834 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> | ||
3835 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3836 | + <nil key="highlightedColor"/> | ||
3837 | + </label> | ||
3838 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="zkX-BT-YZD"> | ||
3839 | + <rect key="frame" x="337" y="17.5" width="17" height="17"/> | ||
3840 | + <constraints> | ||
3841 | + <constraint firstAttribute="width" constant="17" id="Ci4-Wq-tP6"/> | ||
3842 | + <constraint firstAttribute="height" constant="17" id="n1G-m9-43s"/> | ||
3843 | + </constraints> | ||
3844 | + </imageView> | ||
3845 | + </subviews> | ||
3846 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3847 | + <constraints> | ||
3848 | + <constraint firstAttribute="bottom" secondItem="oc6-bU-uFZ" secondAttribute="bottom" constant="15" id="8CL-ej-RPl"/> | ||
3849 | + <constraint firstItem="amg-yf-Roz" firstAttribute="leading" secondItem="oc6-bU-uFZ" secondAttribute="trailing" constant="10" id="GV4-Ut-oeg"/> | ||
3850 | + <constraint firstItem="zkX-BT-YZD" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="amg-yf-Roz" secondAttribute="trailing" constant="5" id="PCZ-Aq-M5f"/> | ||
3851 | + <constraint firstItem="oc6-bU-uFZ" firstAttribute="leading" secondItem="E7g-cu-Vdm" secondAttribute="leading" constant="20" id="Qrh-op-XQ7"/> | ||
3852 | + <constraint firstAttribute="trailing" secondItem="zkX-BT-YZD" secondAttribute="trailing" constant="20" id="R42-ol-mfw"/> | ||
3853 | + <constraint firstItem="oc6-bU-uFZ" firstAttribute="top" secondItem="E7g-cu-Vdm" secondAttribute="top" constant="15" id="k50-It-dgE"/> | ||
3854 | + <constraint firstItem="zkX-BT-YZD" firstAttribute="centerY" secondItem="oc6-bU-uFZ" secondAttribute="centerY" id="tqT-Gi-oTZ"/> | ||
3855 | + <constraint firstItem="amg-yf-Roz" firstAttribute="centerY" secondItem="oc6-bU-uFZ" secondAttribute="centerY" id="usW-Tc-Jrq"/> | ||
3856 | + </constraints> | ||
3857 | + </view> | ||
3858 | + </subviews> | ||
3859 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3860 | + <constraints> | ||
3861 | + <constraint firstAttribute="bottom" secondItem="E7g-cu-Vdm" secondAttribute="bottom" constant="3" id="EQZ-DQ-as6"/> | ||
3862 | + <constraint firstItem="E7g-cu-Vdm" firstAttribute="top" secondItem="Z9L-1Z-TVa" secondAttribute="top" constant="25" id="qCl-fH-vaA"/> | ||
3863 | + <constraint firstItem="E7g-cu-Vdm" firstAttribute="leading" secondItem="Z9L-1Z-TVa" secondAttribute="leading" constant="20" id="uR9-FM-TUb"/> | ||
3864 | + <constraint firstAttribute="trailing" secondItem="E7g-cu-Vdm" secondAttribute="trailing" constant="20" id="vqE-fh-d8w"/> | ||
3865 | + </constraints> | ||
3866 | + </view> | ||
3867 | + </subviews> | ||
3868 | + <constraints> | ||
3869 | + <constraint firstItem="Z9L-1Z-TVa" firstAttribute="top" secondItem="nPE-tM-hVS" secondAttribute="top" id="Azx-eB-oSM"/> | ||
3870 | + <constraint firstAttribute="bottom" secondItem="Z9L-1Z-TVa" secondAttribute="bottom" id="FCb-WG-wcR"/> | ||
3871 | + <constraint firstItem="Z9L-1Z-TVa" firstAttribute="leading" secondItem="nPE-tM-hVS" secondAttribute="leading" id="ISZ-bH-Rkt"/> | ||
3872 | + <constraint firstAttribute="trailing" secondItem="Z9L-1Z-TVa" secondAttribute="trailing" id="MGX-d5-ErD"/> | ||
3873 | + </constraints> | ||
3806 | </tableViewCellContentView> | 3874 | </tableViewCellContentView> |
3807 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3875 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3876 | + <connections> | ||
3877 | + <outlet property="bannerArrowImage" destination="zkX-BT-YZD" id="rgd-Fs-qK7"/> | ||
3878 | + <outlet property="bannerIconImage" destination="oc6-bU-uFZ" id="VXs-UF-Rbf"/> | ||
3879 | + <outlet property="bannerIconImageWidth" destination="M66-dc-yeT" id="joM-kr-chb"/> | ||
3880 | + <outlet property="bannerLabel" destination="amg-yf-Roz" id="V6f-Nt-7IG"/> | ||
3881 | + <outlet property="bannerLabelLeftSpace" destination="GV4-Ut-oeg" id="N8z-3U-VkF"/> | ||
3882 | + <outlet property="bannerView" destination="E7g-cu-Vdm" id="dIw-u1-kvr"/> | ||
3883 | + </connections> | ||
3808 | </tableViewCell> | 3884 | </tableViewCell> |
3809 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletHistoryBannerTableViewCellId" id="DQm-p5-XtS" customClass="WalletHistoryBannerTableViewCell" customModule="SwiftWarplyFramework"> | 3885 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletHistoryBannerTableViewCellId" id="DQm-p5-XtS" customClass="WalletHistoryBannerTableViewCell" customModule="SwiftWarplyFramework"> |
3810 | - <rect key="frame" x="0.0" y="2027.5" width="414" height="44"/> | 3886 | + <rect key="frame" x="0.0" y="1280.5" width="414" height="60"/> |
3811 | <autoresizingMask key="autoresizingMask"/> | 3887 | <autoresizingMask key="autoresizingMask"/> |
3812 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DQm-p5-XtS" id="bjo-yS-hIR"> | 3888 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DQm-p5-XtS" id="bjo-yS-hIR"> |
3813 | - <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | 3889 | + <rect key="frame" x="0.0" y="0.0" width="414" height="60"/> |
3814 | <autoresizingMask key="autoresizingMask"/> | 3890 | <autoresizingMask key="autoresizingMask"/> |
3891 | + <subviews> | ||
3892 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6EA-dy-ien" userLabel="ParentView"> | ||
3893 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | ||
3894 | + <subviews> | ||
3895 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ojl-Ua-IQh"> | ||
3896 | + <rect key="frame" x="20" y="5" width="374" height="36"/> | ||
3897 | + <subviews> | ||
3898 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Exe-1k-4zo"> | ||
3899 | + <rect key="frame" x="20" y="15" width="22" height="6"/> | ||
3900 | + <constraints> | ||
3901 | + <constraint firstAttribute="height" constant="22" id="1rb-tF-mox"/> | ||
3902 | + <constraint firstAttribute="width" constant="22" id="Bxd-jL-WBg"/> | ||
3903 | + </constraints> | ||
3904 | + </imageView> | ||
3905 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Πρόσθεσε τις προτιμήσεις σου" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e1Y-cd-aaa"> | ||
3906 | + <rect key="frame" x="52" y="8" width="232.5" height="20"/> | ||
3907 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> | ||
3908 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3909 | + <nil key="highlightedColor"/> | ||
3910 | + </label> | ||
3911 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="2Xn-jy-pMo"> | ||
3912 | + <rect key="frame" x="337" y="9.5" width="17" height="17"/> | ||
3913 | + <constraints> | ||
3914 | + <constraint firstAttribute="width" constant="17" id="MhO-mC-QzN"/> | ||
3915 | + <constraint firstAttribute="height" constant="17" id="X0d-1w-mvu"/> | ||
3916 | + </constraints> | ||
3917 | + </imageView> | ||
3918 | + </subviews> | ||
3919 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3920 | + <constraints> | ||
3921 | + <constraint firstItem="e1Y-cd-aaa" firstAttribute="centerY" secondItem="Exe-1k-4zo" secondAttribute="centerY" id="59b-aF-ZuK"/> | ||
3922 | + <constraint firstItem="Exe-1k-4zo" firstAttribute="leading" secondItem="Ojl-Ua-IQh" secondAttribute="leading" constant="20" id="7hF-pQ-9hz"/> | ||
3923 | + <constraint firstItem="2Xn-jy-pMo" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="e1Y-cd-aaa" secondAttribute="trailing" constant="5" id="BT4-Yz-21p"/> | ||
3924 | + <constraint firstItem="2Xn-jy-pMo" firstAttribute="centerY" secondItem="Exe-1k-4zo" secondAttribute="centerY" id="Ccb-FA-cxG"/> | ||
3925 | + <constraint firstAttribute="trailing" secondItem="2Xn-jy-pMo" secondAttribute="trailing" constant="20" id="ckH-R4-PY5"/> | ||
3926 | + <constraint firstItem="e1Y-cd-aaa" firstAttribute="leading" secondItem="Exe-1k-4zo" secondAttribute="trailing" constant="10" id="fB0-DX-1hK"/> | ||
3927 | + <constraint firstItem="Exe-1k-4zo" firstAttribute="top" secondItem="Ojl-Ua-IQh" secondAttribute="top" constant="15" id="gTy-8F-mid"/> | ||
3928 | + <constraint firstAttribute="bottom" secondItem="Exe-1k-4zo" secondAttribute="bottom" constant="15" id="nP5-bW-LWD"/> | ||
3929 | + </constraints> | ||
3930 | + </view> | ||
3931 | + </subviews> | ||
3932 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3933 | + <constraints> | ||
3934 | + <constraint firstItem="Ojl-Ua-IQh" firstAttribute="top" secondItem="6EA-dy-ien" secondAttribute="top" constant="5" id="2Mt-rZ-deU"/> | ||
3935 | + <constraint firstAttribute="trailing" secondItem="Ojl-Ua-IQh" secondAttribute="trailing" constant="20" id="Odl-ic-tbG"/> | ||
3936 | + <constraint firstItem="Ojl-Ua-IQh" firstAttribute="leading" secondItem="6EA-dy-ien" secondAttribute="leading" constant="20" id="VCQ-cO-pFe"/> | ||
3937 | + <constraint firstAttribute="bottom" secondItem="Ojl-Ua-IQh" secondAttribute="bottom" constant="3" id="cWA-Yw-XMT"/> | ||
3938 | + </constraints> | ||
3939 | + </view> | ||
3940 | + </subviews> | ||
3941 | + <constraints> | ||
3942 | + <constraint firstItem="6EA-dy-ien" firstAttribute="leading" secondItem="bjo-yS-hIR" secondAttribute="leading" id="6eg-vk-V4b"/> | ||
3943 | + <constraint firstAttribute="bottom" secondItem="6EA-dy-ien" secondAttribute="bottom" id="Vxd-KD-df6"/> | ||
3944 | + <constraint firstAttribute="trailing" secondItem="6EA-dy-ien" secondAttribute="trailing" id="btz-lA-pAj"/> | ||
3945 | + <constraint firstItem="6EA-dy-ien" firstAttribute="top" secondItem="bjo-yS-hIR" secondAttribute="top" id="ivN-lm-ahq"/> | ||
3946 | + </constraints> | ||
3815 | </tableViewCellContentView> | 3947 | </tableViewCellContentView> |
3816 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 3948 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3949 | + <connections> | ||
3950 | + <outlet property="bannerArrowImage" destination="2Xn-jy-pMo" id="hh1-7A-MBG"/> | ||
3951 | + <outlet property="bannerIconImage" destination="Exe-1k-4zo" id="e1M-BM-rpU"/> | ||
3952 | + <outlet property="bannerLabel" destination="e1Y-cd-aaa" id="vFl-fP-AUl"/> | ||
3953 | + <outlet property="bannerView" destination="Ojl-Ua-IQh" id="5ys-Mj-SDp"/> | ||
3954 | + </connections> | ||
3817 | </tableViewCell> | 3955 | </tableViewCell> |
3818 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletEmptyViewTableViewCellId" id="lSc-gs-vcx" customClass="WalletEmptyViewTableViewCell" customModule="SwiftWarplyFramework"> | 3956 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletEmptyViewTableViewCellId" id="lSc-gs-vcx" customClass="WalletEmptyViewTableViewCell" customModule="SwiftWarplyFramework"> |
3819 | - <rect key="frame" x="0.0" y="2071.5" width="414" height="44"/> | 3957 | + <rect key="frame" x="0.0" y="1340.5" width="414" height="44"/> |
3820 | <autoresizingMask key="autoresizingMask"/> | 3958 | <autoresizingMask key="autoresizingMask"/> |
3821 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="lSc-gs-vcx" id="AOI-dP-A0r"> | 3959 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="lSc-gs-vcx" id="AOI-dP-A0r"> |
3822 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | 3960 | <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> |
3823 | <autoresizingMask key="autoresizingMask"/> | 3961 | <autoresizingMask key="autoresizingMask"/> |
3962 | + <subviews> | ||
3963 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vBZ-FS-KB9" userLabel="Parent View"> | ||
3964 | + <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | ||
3965 | + <subviews> | ||
3966 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="b8E-65-ecf"> | ||
3967 | + <rect key="frame" x="20" y="0.0" width="374" height="44"/> | ||
3968 | + <subviews> | ||
3969 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="tXX-aH-hoN"> | ||
3970 | + <rect key="frame" x="163" y="25" width="48" height="9"/> | ||
3971 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3972 | + <constraints> | ||
3973 | + <constraint firstAttribute="height" constant="48" id="WlR-pb-0sP"/> | ||
3974 | + <constraint firstAttribute="width" constant="48" id="ckG-cu-fca"/> | ||
3975 | + </constraints> | ||
3976 | + </imageView> | ||
3977 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VAC-aj-sy7"> | ||
3978 | + <rect key="frame" x="0.0" y="44" width="374" height="0.0"/> | ||
3979 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> | ||
3980 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3981 | + <nil key="highlightedColor"/> | ||
3982 | + </label> | ||
3983 | + </subviews> | ||
3984 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3985 | + <constraints> | ||
3986 | + <constraint firstAttribute="bottom" secondItem="VAC-aj-sy7" secondAttribute="bottom" id="6hQ-86-vcS"/> | ||
3987 | + <constraint firstItem="tXX-aH-hoN" firstAttribute="top" secondItem="b8E-65-ecf" secondAttribute="top" constant="25" id="AQG-0D-Jo7"/> | ||
3988 | + <constraint firstAttribute="trailing" secondItem="VAC-aj-sy7" secondAttribute="trailing" id="EkH-8V-KGK"/> | ||
3989 | + <constraint firstItem="VAC-aj-sy7" firstAttribute="leading" secondItem="b8E-65-ecf" secondAttribute="leading" id="cBB-Tp-RzI"/> | ||
3990 | + <constraint firstItem="tXX-aH-hoN" firstAttribute="centerX" secondItem="b8E-65-ecf" secondAttribute="centerX" id="grF-dF-4fq"/> | ||
3991 | + <constraint firstItem="VAC-aj-sy7" firstAttribute="top" secondItem="tXX-aH-hoN" secondAttribute="bottom" constant="10" id="lJu-To-9mC"/> | ||
3992 | + </constraints> | ||
3993 | + </view> | ||
3994 | + </subviews> | ||
3995 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
3996 | + <constraints> | ||
3997 | + <constraint firstItem="b8E-65-ecf" firstAttribute="top" secondItem="vBZ-FS-KB9" secondAttribute="top" id="Hxb-Go-lGp"/> | ||
3998 | + <constraint firstItem="b8E-65-ecf" firstAttribute="leading" secondItem="vBZ-FS-KB9" secondAttribute="leading" constant="20" id="aOu-Sr-gOg"/> | ||
3999 | + <constraint firstAttribute="trailing" secondItem="b8E-65-ecf" secondAttribute="trailing" constant="20" id="hT0-er-ElL"/> | ||
4000 | + <constraint firstAttribute="bottom" secondItem="b8E-65-ecf" secondAttribute="bottom" id="r2C-1E-hDf"/> | ||
4001 | + </constraints> | ||
4002 | + </view> | ||
4003 | + </subviews> | ||
4004 | + <constraints> | ||
4005 | + <constraint firstItem="vBZ-FS-KB9" firstAttribute="top" secondItem="AOI-dP-A0r" secondAttribute="top" id="EXd-yf-ysU"/> | ||
4006 | + <constraint firstItem="vBZ-FS-KB9" firstAttribute="leading" secondItem="AOI-dP-A0r" secondAttribute="leading" id="d4y-Ci-Lhr"/> | ||
4007 | + <constraint firstAttribute="bottom" secondItem="vBZ-FS-KB9" secondAttribute="bottom" id="fvs-lh-kvh"/> | ||
4008 | + <constraint firstAttribute="trailing" secondItem="vBZ-FS-KB9" secondAttribute="trailing" id="ruI-nJ-4Kl"/> | ||
4009 | + </constraints> | ||
3824 | </tableViewCellContentView> | 4010 | </tableViewCellContentView> |
3825 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 4011 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
4012 | + <connections> | ||
4013 | + <outlet property="emptyImage" destination="tXX-aH-hoN" id="qfg-Um-fkV"/> | ||
4014 | + <outlet property="emptyLabel" destination="VAC-aj-sy7" id="dnl-Zy-ijA"/> | ||
4015 | + </connections> | ||
3826 | </tableViewCell> | 4016 | </tableViewCell> |
3827 | </prototypes> | 4017 | </prototypes> |
3828 | <connections> | 4018 | <connections> |
... | @@ -3831,13 +4021,18 @@ | ... | @@ -3831,13 +4021,18 @@ |
3831 | </connections> | 4021 | </connections> |
3832 | </tableView> | 4022 | </tableView> |
3833 | </subviews> | 4023 | </subviews> |
3834 | - <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/> | 4024 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
3835 | <constraints> | 4025 | <constraints> |
3836 | <constraint firstItem="jYz-96-Lp1" firstAttribute="top" secondItem="VHx-uN-GE4" secondAttribute="top" id="5Xw-UM-jF7"/> | 4026 | <constraint firstItem="jYz-96-Lp1" firstAttribute="top" secondItem="VHx-uN-GE4" secondAttribute="top" id="5Xw-UM-jF7"/> |
3837 | <constraint firstItem="jYz-96-Lp1" firstAttribute="leading" secondItem="VHx-uN-GE4" secondAttribute="leading" id="bfu-UW-7CF"/> | 4027 | <constraint firstItem="jYz-96-Lp1" firstAttribute="leading" secondItem="VHx-uN-GE4" secondAttribute="leading" id="bfu-UW-7CF"/> |
3838 | <constraint firstAttribute="bottom" secondItem="jYz-96-Lp1" secondAttribute="bottom" id="fxz-oU-HVB"/> | 4028 | <constraint firstAttribute="bottom" secondItem="jYz-96-Lp1" secondAttribute="bottom" id="fxz-oU-HVB"/> |
3839 | <constraint firstAttribute="trailing" secondItem="jYz-96-Lp1" secondAttribute="trailing" id="lQh-hI-Lzz"/> | 4029 | <constraint firstAttribute="trailing" secondItem="jYz-96-Lp1" secondAttribute="trailing" id="lQh-hI-Lzz"/> |
3840 | </constraints> | 4030 | </constraints> |
4031 | + <variation key="default"> | ||
4032 | + <mask key="subviews"> | ||
4033 | + <exclude reference="ICd-s2-mfF"/> | ||
4034 | + </mask> | ||
4035 | + </variation> | ||
3841 | </view> | 4036 | </view> |
3842 | </subviews> | 4037 | </subviews> |
3843 | <viewLayoutGuide key="safeArea" id="NAN-HJ-dic"/> | 4038 | <viewLayoutGuide key="safeArea" id="NAN-HJ-dic"/> | ... | ... |
... | @@ -33,14 +33,16 @@ import UIKit | ... | @@ -33,14 +33,16 @@ import UIKit |
33 | // Initialization code | 33 | // Initialization code |
34 | 34 | ||
35 | // DFY Banner | 35 | // DFY Banner |
36 | - dfyViewParent.backgroundColor = UIColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.00) | 36 | +// dfyViewParent.backgroundColor = UIColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.00) |
37 | + dfyViewParent.backgroundColor = .white | ||
37 | dfyViewParent.layer.cornerRadius = 16.0 | 38 | dfyViewParent.layer.cornerRadius = 16.0 |
38 | dfyViewParent.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | 39 | dfyViewParent.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor |
39 | dfyViewParent.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | 40 | dfyViewParent.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) |
40 | dfyViewParent.layer.shadowOpacity = 1.0 | 41 | dfyViewParent.layer.shadowOpacity = 1.0 |
41 | - dfyViewParent.layer.shadowRadius = 1.0 | 42 | + dfyViewParent.layer.shadowRadius = 2.0 |
42 | 43 | ||
43 | - dfyView.backgroundColor = UIColor(red: 0.46, green: 0.75, blue: 0.45, alpha: 0.05) | 44 | +// dfyView.backgroundColor = UIColor(red: 0.46, green: 0.75, blue: 0.45, alpha: 0.05) |
45 | + dfyView.backgroundColor = .white | ||
44 | dfyView.layer.cornerRadius = 16.0 | 46 | dfyView.layer.cornerRadius = 16.0 |
45 | 47 | ||
46 | dfyImage.image = UIImage(named: "wallet_banner_dfy", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 48 | dfyImage.image = UIImage(named: "wallet_banner_dfy", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
... | @@ -51,12 +53,13 @@ import UIKit | ... | @@ -51,12 +53,13 @@ import UIKit |
51 | dfyCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | 53 | dfyCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) |
52 | 54 | ||
53 | // SM Banner | 55 | // SM Banner |
54 | - smView.backgroundColor = UIColor(red: 1.00, green: 0.99, blue: 0.97, alpha: 1.00) | 56 | +// smView.backgroundColor = UIColor(red: 1.00, green: 0.99, blue: 0.97, alpha: 1.00) |
57 | + smView.backgroundColor = .white | ||
55 | smView.layer.cornerRadius = 16.0 | 58 | smView.layer.cornerRadius = 16.0 |
56 | smView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | 59 | smView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor |
57 | smView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | 60 | smView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) |
58 | smView.layer.shadowOpacity = 1.0 | 61 | smView.layer.shadowOpacity = 1.0 |
59 | - smView.layer.shadowRadius = 1.0 | 62 | + smView.layer.shadowRadius = 2.0 |
60 | 63 | ||
61 | smImage.image = UIImage(named: "wallet_banner_sm", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 64 | smImage.image = UIImage(named: "wallet_banner_sm", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
62 | 65 | ||
... | @@ -66,16 +69,19 @@ import UIKit | ... | @@ -66,16 +69,19 @@ import UIKit |
66 | smCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | 69 | smCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) |
67 | 70 | ||
68 | // GFY Banner | 71 | // GFY Banner |
69 | - gfyView.backgroundColor = UIColor(red: 0.96, green: 0.97, blue: 0.98, alpha: 1.00) | 72 | +// gfyView.backgroundColor = UIColor(red: 0.96, green: 0.97, blue: 0.98, alpha: 1.00) |
73 | + gfyView.backgroundColor = .white | ||
70 | gfyView.layer.cornerRadius = 16.0 | 74 | gfyView.layer.cornerRadius = 16.0 |
71 | gfyView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | 75 | gfyView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor |
72 | gfyView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | 76 | gfyView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) |
73 | gfyView.layer.shadowOpacity = 1.0 | 77 | gfyView.layer.shadowOpacity = 1.0 |
74 | - gfyView.layer.shadowRadius = 1.0 | 78 | + gfyView.layer.shadowRadius = 2.0 |
75 | 79 | ||
76 | gfyImage.image = UIImage(named: "wallet_banner_gfy", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 80 | gfyImage.image = UIImage(named: "wallet_banner_gfy", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
77 | 81 | ||
78 | - gfyLabel.text = "GIFTS FOR YOU" | 82 | +// gfyLabel.text = "GIFTS FOR YOU" |
83 | +// gfyLabel.text = "Free coupons" | ||
84 | + gfyLabel.text = "FREE COUPONS" | ||
79 | 85 | ||
80 | gfyCountView.layer.cornerRadius = 4.0 | 86 | gfyCountView.layer.cornerRadius = 4.0 |
81 | gfyCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | 87 | gfyCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | ... | ... |
... | @@ -8,10 +8,17 @@ | ... | @@ -8,10 +8,17 @@ |
8 | import UIKit | 8 | import UIKit |
9 | 9 | ||
10 | @objc public class WalletEmptyViewTableViewCell: UITableViewCell { | 10 | @objc public class WalletEmptyViewTableViewCell: UITableViewCell { |
11 | + @IBOutlet weak var emptyImage: UIImageView! | ||
12 | + @IBOutlet weak var emptyLabel: UILabel! | ||
11 | 13 | ||
12 | public override func awakeFromNib() { | 14 | public override func awakeFromNib() { |
13 | super.awakeFromNib() | 15 | super.awakeFromNib() |
14 | // Initialization code | 16 | // Initialization code |
17 | + | ||
18 | + emptyImage.image = UIImage(named: "ic_empty_wallet_3", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
19 | +// emptyLabel.text = "Δεν έχεις κάποιον ενεργό κωδικό ή κουπόνι! Μπες τώρα στην ενότητα COSMOTE For You και βρες αποκλειστικές προσφορές!" | ||
20 | + emptyLabel.text = "Δεν έχεις ενεργό κωδικό ή κουπόνι!\nΜπες τώρα στην ενότητα COSMOTE For You και βρες αποκλειστικές προσφορές" | ||
21 | + | ||
15 | } | 22 | } |
16 | 23 | ||
17 | public override func setSelected(_ selected: Bool, animated: Bool) { | 24 | public override func setSelected(_ selected: Bool, animated: Bool) { | ... | ... |
... | @@ -8,10 +8,31 @@ | ... | @@ -8,10 +8,31 @@ |
8 | import UIKit | 8 | import UIKit |
9 | 9 | ||
10 | @objc public class WalletHistoryBannerTableViewCell: UITableViewCell { | 10 | @objc public class WalletHistoryBannerTableViewCell: UITableViewCell { |
11 | + @IBOutlet weak var bannerView: UIView! | ||
12 | + @IBOutlet weak var bannerIconImage: UIImageView! | ||
13 | + @IBOutlet weak var bannerLabel: UILabel! | ||
14 | + @IBOutlet weak var bannerArrowImage: UIImageView! | ||
15 | + | ||
16 | + let language = swiftApi().getLanguage() | ||
11 | 17 | ||
12 | public override func awakeFromNib() { | 18 | public override func awakeFromNib() { |
13 | super.awakeFromNib() | 19 | super.awakeFromNib() |
14 | // Initialization code | 20 | // Initialization code |
21 | + | ||
22 | + bannerView.layer.cornerRadius = 16.0 | ||
23 | + bannerView.layer.borderWidth = 1 | ||
24 | + bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor | ||
25 | + | ||
26 | + // Add shadow | ||
27 | + bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | ||
28 | + bannerView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | ||
29 | + bannerView.layer.shadowOpacity = 1.0 | ||
30 | + bannerView.layer.shadowRadius = 1.0 | ||
31 | + | ||
32 | + bannerIconImage.image = UIImage(named: "wallet_history_blue", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
33 | + bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
34 | + | ||
35 | + bannerLabel.text = "Δες το ιστορικό σου" | ||
15 | } | 36 | } |
16 | 37 | ||
17 | public override func setSelected(_ selected: Bool, animated: Bool) { | 38 | public override func setSelected(_ selected: Bool, animated: Bool) { | ... | ... |
... | @@ -8,10 +8,29 @@ | ... | @@ -8,10 +8,29 @@ |
8 | import UIKit | 8 | import UIKit |
9 | 9 | ||
10 | @objc public class WalletQuestionnaireBannerTableViewCell: UITableViewCell { | 10 | @objc public class WalletQuestionnaireBannerTableViewCell: UITableViewCell { |
11 | + @IBOutlet weak var bannerView: UIView! | ||
12 | + @IBOutlet weak var bannerIconImage: UIImageView! | ||
13 | + @IBOutlet weak var bannerIconImageWidth: NSLayoutConstraint! | ||
14 | + @IBOutlet weak var bannerLabel: UILabel! | ||
15 | + @IBOutlet weak var bannerLabelLeftSpace: NSLayoutConstraint! | ||
16 | + @IBOutlet weak var bannerArrowImage: UIImageView! | ||
11 | 17 | ||
12 | public override func awakeFromNib() { | 18 | public override func awakeFromNib() { |
13 | super.awakeFromNib() | 19 | super.awakeFromNib() |
14 | // Initialization code | 20 | // Initialization code |
21 | + | ||
22 | + bannerView.layer.cornerRadius = 16.0 | ||
23 | + bannerView.layer.borderWidth = 1 | ||
24 | + bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor | ||
25 | + | ||
26 | + // Add shadow | ||
27 | + bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | ||
28 | + bannerView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | ||
29 | + bannerView.layer.shadowOpacity = 1.0 | ||
30 | + bannerView.layer.shadowRadius = 1.0 | ||
31 | + | ||
32 | + bannerIconImage.image = UIImage(named: "wallet_plus_blue", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
33 | + bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
15 | } | 34 | } |
16 | 35 | ||
17 | public override func setSelected(_ selected: Bool, animated: Bool) { | 36 | public override func setSelected(_ selected: Bool, animated: Bool) { |
... | @@ -20,4 +39,23 @@ import UIKit | ... | @@ -20,4 +39,23 @@ import UIKit |
20 | // Configure the view for the selected state | 39 | // Configure the view for the selected state |
21 | } | 40 | } |
22 | 41 | ||
42 | + func configureCell() { | ||
43 | + let userTag = swiftApi().getUserTag() | ||
44 | +// print("User tag: " + userTag) | ||
45 | + if (userTag != "" && userTag != "undefined") { | ||
46 | + bannerLabel.text = userTag | ||
47 | + bannerLabel.frame.size.width = bannerLabel.intrinsicContentSize.width | ||
48 | + bannerIconImage.isHidden = true | ||
49 | + bannerIconImageWidth.constant = CGFloat(0.0) | ||
50 | + bannerLabelLeftSpace.constant = CGFloat(0.0) | ||
51 | + | ||
52 | + } else { | ||
53 | + bannerLabel.text = "Πρόσθεσε τις προτιμήσεις σου" | ||
54 | + bannerLabel.frame.size.width = bannerLabel.intrinsicContentSize.width | ||
55 | + bannerIconImage.isHidden = false | ||
56 | + bannerIconImageWidth.constant = CGFloat(22.0) | ||
57 | + bannerLabelLeftSpace.constant = CGFloat(10.0) | ||
58 | + } | ||
59 | + } | ||
60 | + | ||
23 | } | 61 | } | ... | ... |
... | @@ -14,7 +14,8 @@ import UIKit | ... | @@ -14,7 +14,8 @@ import UIKit |
14 | super.awakeFromNib() | 14 | super.awakeFromNib() |
15 | // Initialization code | 15 | // Initialization code |
16 | 16 | ||
17 | - spinner.color = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) | 17 | +// spinner.color = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) |
18 | + spinner.color = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00) | ||
18 | 19 | ||
19 | spinner.translatesAutoresizingMaskIntoConstraints = false | 20 | spinner.translatesAutoresizingMaskIntoConstraints = false |
20 | spinner.startAnimating() | 21 | spinner.startAnimating() | ... | ... |
... | @@ -80,6 +80,7 @@ import SwiftEventBus | ... | @@ -80,6 +80,7 @@ import SwiftEventBus |
80 | var forYouExpanded: Bool = false; | 80 | var forYouExpanded: Bool = false; |
81 | var showSpinner: Bool = false; | 81 | var showSpinner: Bool = false; |
82 | var showActiveCouponsBanners: Bool = false; | 82 | var showActiveCouponsBanners: Bool = false; |
83 | + var showEmptyView: Bool = false; | ||
83 | 84 | ||
84 | 85 | ||
85 | public override func viewDidLoad() { | 86 | public override func viewDidLoad() { |
... | @@ -105,8 +106,8 @@ import SwiftEventBus | ... | @@ -105,8 +106,8 @@ import SwiftEventBus |
105 | self.unifiedCoupons = swiftApi().getUnifiedCouponList() | 106 | self.unifiedCoupons = swiftApi().getUnifiedCouponList() |
106 | // TODO: Maybe add this | 107 | // TODO: Maybe add this |
107 | // TODO: Uncomment if discounts are shown again in wallet | 108 | // TODO: Uncomment if discounts are shown again in wallet |
108 | -// self.matchOldSMCoupons() | 109 | + self.matchOldSMCoupons() |
109 | -// self.updateMarketBadge() | 110 | + self.updateMarketBadge() |
110 | self.handleSpinnerAndEmptyView() | 111 | self.handleSpinnerAndEmptyView() |
111 | self.tableView.reloadData() | 112 | self.tableView.reloadData() |
112 | } | 113 | } |
... | @@ -161,8 +162,8 @@ import SwiftEventBus | ... | @@ -161,8 +162,8 @@ import SwiftEventBus |
161 | // TODO: Uncomment when UnifiedCoupons will be shown again | 162 | // TODO: Uncomment when UnifiedCoupons will be shown again |
162 | // getCouponsSetsDealsRequest() | 163 | // getCouponsSetsDealsRequest() |
163 | 164 | ||
164 | - setBackButton("ic_close_3") | 165 | +// setBackButton("ic_close_3") |
165 | - setNavigationTitle("My Rewards") | 166 | +// setNavigationTitle("My Rewards") |
166 | 167 | ||
167 | tableView.delegate = self | 168 | tableView.delegate = self |
168 | tableView.dataSource = self | 169 | tableView.dataSource = self |
... | @@ -494,8 +495,8 @@ import SwiftEventBus | ... | @@ -494,8 +495,8 @@ import SwiftEventBus |
494 | emptyLabel.text = "Δεν έχεις κάποιον ενεργό κωδικό ή κουπόνι! Μπες τώρα στην ενότητα COSMOTE For You και βρες αποκλειστικές προσφορές!" | 495 | emptyLabel.text = "Δεν έχεις κάποιον ενεργό κωδικό ή κουπόνι! Μπες τώρα στην ενότητα COSMOTE For You και βρες αποκλειστικές προσφορές!" |
495 | 496 | ||
496 | // TODO: Uncomment if discounts are shown again in wallet | 497 | // TODO: Uncomment if discounts are shown again in wallet |
497 | -// matchOldSMCoupons() | 498 | + matchOldSMCoupons() |
498 | -// updateMarketBadge() | 499 | + updateMarketBadge() |
499 | 500 | ||
500 | // TODO: DELETE if emptyView is needed again | 501 | // TODO: DELETE if emptyView is needed again |
501 | // emptyView.isHidden = true | 502 | // emptyView.isHidden = true |
... | @@ -558,10 +559,10 @@ import SwiftEventBus | ... | @@ -558,10 +559,10 @@ import SwiftEventBus |
558 | // TODO: Uncomment when UnifiedCoupons will be shown again | 559 | // TODO: Uncomment when UnifiedCoupons will be shown again |
559 | self.unifiedCoupons = swiftApi().getUnifiedCouponList() | 560 | self.unifiedCoupons = swiftApi().getUnifiedCouponList() |
560 | // TODO: Maybe add this | 561 | // TODO: Maybe add this |
561 | - // self.matchOldSMCoupons() | 562 | + self.matchOldSMCoupons() |
562 | // <=== | 563 | // <=== |
563 | // TODO: Uncomment if discounts are shown again in wallet | 564 | // TODO: Uncomment if discounts are shown again in wallet |
564 | -// self.updateMarketBadge() | 565 | + self.updateMarketBadge() |
565 | self.handleSpinnerAndEmptyView() | 566 | self.handleSpinnerAndEmptyView() |
566 | self.tableView.reloadData() | 567 | self.tableView.reloadData() |
567 | 568 | ||
... | @@ -583,18 +584,24 @@ import SwiftEventBus | ... | @@ -583,18 +584,24 @@ import SwiftEventBus |
583 | public override func viewDidLayoutSubviews() { | 584 | public override func viewDidLayoutSubviews() { |
584 | super.viewDidLayoutSubviews() | 585 | super.viewDidLayoutSubviews() |
585 | 586 | ||
586 | - if let headerView = tableView.tableHeaderView { | 587 | + // TODO: Uncomment if header is needed again |
587 | - | 588 | +// if let headerView = tableView.tableHeaderView { |
588 | - let height = headerView.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize).height | 589 | +// |
589 | - var headerFrame = headerView.frame | 590 | +// let height = headerView.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize).height |
591 | +// var headerFrame = headerView.frame | ||
592 | +//// let height = 0.0 | ||
593 | +//// var headerFrame = CGRect(x: 0,y: 0,width: 0,height: 0) | ||
594 | +// | ||
595 | +// //Comparison necessary to avoid infinite loop | ||
596 | +// if height != headerFrame.size.height { | ||
597 | +// headerFrame.size.height = height | ||
598 | +// headerView.frame = headerFrame | ||
599 | +// tableView.tableHeaderView = headerView | ||
600 | +// } | ||
601 | +// } | ||
590 | 602 | ||
591 | - //Comparison necessary to avoid infinite loop | 603 | + // TODO: DELETE if header is needed again |
592 | - if height != headerFrame.size.height { | 604 | + self.tableView.tableHeaderView = UIView(frame: CGRect(x: 0.0, y: 0.0, width: self.tableView.bounds.size.width, height: 0.01)) |
593 | - headerFrame.size.height = height | ||
594 | - headerView.frame = headerFrame | ||
595 | - tableView.tableHeaderView = headerView | ||
596 | - } | ||
597 | - } | ||
598 | } | 605 | } |
599 | 606 | ||
600 | // MARK: - Functions | 607 | // MARK: - Functions |
... | @@ -739,6 +746,7 @@ import SwiftEventBus | ... | @@ -739,6 +746,7 @@ import SwiftEventBus |
739 | if (swiftApi().getShowVouchersBanner() == "") { | 746 | if (swiftApi().getShowVouchersBanner() == "") { |
740 | self.emptyView.isHidden = true | 747 | self.emptyView.isHidden = true |
741 | self.emptyViewHeight.constant = 0 | 748 | self.emptyViewHeight.constant = 0 |
749 | + self.showEmptyView = false | ||
742 | 750 | ||
743 | self.showSpinner = true | 751 | self.showSpinner = true |
744 | 752 | ||
... | @@ -756,17 +764,21 @@ import SwiftEventBus | ... | @@ -756,17 +764,21 @@ import SwiftEventBus |
756 | self.showActiveCouponsBanners = false | 764 | self.showActiveCouponsBanners = false |
757 | 765 | ||
758 | if (swiftApi().getShowVouchersBanner() == "null") { | 766 | if (swiftApi().getShowVouchersBanner() == "null") { |
759 | - self.emptyView.isHidden = false | 767 | + // TODO: UNCOMMENT if emptyView is needed again |
760 | - self.emptyViewHeight.constant = self.emptyView.intrinsicContentSize.height | 768 | +// self.emptyView.isHidden = false |
769 | +// self.emptyViewHeight.constant = self.emptyView.intrinsicContentSize.height | ||
770 | + self.showEmptyView = true | ||
761 | 771 | ||
762 | } else { | 772 | } else { |
763 | self.emptyView.isHidden = true | 773 | self.emptyView.isHidden = true |
764 | self.emptyViewHeight.constant = 0 | 774 | self.emptyViewHeight.constant = 0 |
775 | + self.showEmptyView = false | ||
765 | } | 776 | } |
766 | 777 | ||
767 | } else { | 778 | } else { |
768 | self.emptyView.isHidden = true | 779 | self.emptyView.isHidden = true |
769 | self.emptyViewHeight.constant = 0 | 780 | self.emptyViewHeight.constant = 0 |
781 | + self.showEmptyView = false | ||
770 | 782 | ||
771 | self.showActiveCouponsBanners = true | 783 | self.showActiveCouponsBanners = true |
772 | } | 784 | } |
... | @@ -1028,7 +1040,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1028,7 +1040,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1028 | 1040 | ||
1029 | public func numberOfSections(in tableView: UITableView) -> Int { | 1041 | public func numberOfSections(in tableView: UITableView) -> Int { |
1030 | // return 4 | 1042 | // return 4 |
1031 | - return 3 | 1043 | + return 6 |
1032 | } | 1044 | } |
1033 | 1045 | ||
1034 | public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { | 1046 | public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { |
... | @@ -1060,12 +1072,27 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1060,12 +1072,27 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1060 | return 0 | 1072 | return 0 |
1061 | } | 1073 | } |
1062 | } else if (section == 1) { | 1074 | } else if (section == 1) { |
1075 | + return 1 | ||
1076 | + } else if (section == 2) { | ||
1077 | + let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount | ||
1078 | + if (sumRedeemed > 0.0) { | ||
1079 | + return 1 | ||
1080 | + } else { | ||
1081 | + return 0 | ||
1082 | + } | ||
1083 | + } else if (section == 3) { | ||
1063 | if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") { | 1084 | if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") { |
1064 | return 1 | 1085 | return 1 |
1065 | } else { | 1086 | } else { |
1066 | return 0 | 1087 | return 0 |
1067 | } | 1088 | } |
1068 | - } else if (section == 2) { | 1089 | + } else if (section == 4) { |
1090 | + if (self.showEmptyView == true) { | ||
1091 | + return 1 | ||
1092 | + } else { | ||
1093 | + return 0 | ||
1094 | + } | ||
1095 | + } else if (section == 5) { | ||
1069 | if (self.showSpinner == true) { | 1096 | if (self.showSpinner == true) { |
1070 | return 1 | 1097 | return 1 |
1071 | } else { | 1098 | } else { |
... | @@ -1114,12 +1141,27 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1114,12 +1141,27 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1114 | return 0.0 | 1141 | return 0.0 |
1115 | } | 1142 | } |
1116 | } else if (indexPath.section == 1) { | 1143 | } else if (indexPath.section == 1) { |
1144 | + return UITableView.automaticDimension | ||
1145 | + } else if (indexPath.section == 2) { | ||
1146 | + let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount | ||
1147 | + if (sumRedeemed > 0.0) { | ||
1148 | + return UITableView.automaticDimension | ||
1149 | + } else { | ||
1150 | + return 0.0 | ||
1151 | + } | ||
1152 | + } else if (indexPath.section == 3) { | ||
1117 | if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") { | 1153 | if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") { |
1118 | return UITableView.automaticDimension | 1154 | return UITableView.automaticDimension |
1119 | } else { | 1155 | } else { |
1120 | return 0.0 | 1156 | return 0.0 |
1121 | } | 1157 | } |
1122 | - } else if (indexPath.section == 2) { | 1158 | + } else if (indexPath.section == 4) { |
1159 | + if (self.showEmptyView == true) { | ||
1160 | + return UITableView.automaticDimension | ||
1161 | + } else { | ||
1162 | + return 0.0 | ||
1163 | + } | ||
1164 | + } else if (indexPath.section == 5) { | ||
1123 | if (self.showSpinner == true) { | 1165 | if (self.showSpinner == true) { |
1124 | return UITableView.automaticDimension | 1166 | return UITableView.automaticDimension |
1125 | } else { | 1167 | } else { |
... | @@ -1200,9 +1242,10 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1200,9 +1242,10 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1200 | view.backgroundColor = .clear | 1242 | view.backgroundColor = .clear |
1201 | 1243 | ||
1202 | let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: view.frame.width - 40, height: 25)) | 1244 | let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: view.frame.width - 40, height: 25)) |
1203 | - titleLabel.font = UIFont(name: "PeridotPE-SBold", size: 21) | 1245 | +// titleLabel.font = UIFont(name: "PeridotPE-SBold", size: 21) |
1246 | + titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19) | ||
1204 | titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00) | 1247 | titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00) |
1205 | - titleLabel.text = "Ενεργά κουπόνια" | 1248 | + titleLabel.text = "Κουπόνια" |
1206 | 1249 | ||
1207 | view.addSubview(titleLabel) | 1250 | view.addSubview(titleLabel) |
1208 | return view | 1251 | return view |
... | @@ -1210,6 +1253,10 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1210,6 +1253,10 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1210 | return nil | 1253 | return nil |
1211 | } | 1254 | } |
1212 | } else if (section == 1) { | 1255 | } else if (section == 1) { |
1256 | + return nil | ||
1257 | + } else if (section == 2) { | ||
1258 | + return nil | ||
1259 | + } else if (section == 3) { | ||
1213 | // if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") { | 1260 | // if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") { |
1214 | // let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 70)) | 1261 | // let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 70)) |
1215 | // view.backgroundColor = .clear | 1262 | // view.backgroundColor = .clear |
... | @@ -1227,7 +1274,9 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1227,7 +1274,9 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1227 | // } else { | 1274 | // } else { |
1228 | return nil | 1275 | return nil |
1229 | // } | 1276 | // } |
1230 | - } else if (section == 2) { | 1277 | + } else if (section == 4) { |
1278 | + return nil | ||
1279 | + } else if (section == 5) { | ||
1231 | return nil | 1280 | return nil |
1232 | } else { | 1281 | } else { |
1233 | return nil | 1282 | return nil |
... | @@ -1270,12 +1319,18 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1270,12 +1319,18 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1270 | return 0.0 | 1319 | return 0.0 |
1271 | } | 1320 | } |
1272 | } else if (section == 1) { | 1321 | } else if (section == 1) { |
1322 | + return 0.0 | ||
1323 | + } else if (section == 2) { | ||
1324 | + return 0.0 | ||
1325 | + } else if (section == 3) { | ||
1273 | // if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") { | 1326 | // if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") { |
1274 | // return 70.0 | 1327 | // return 70.0 |
1275 | // } else { | 1328 | // } else { |
1276 | return 0.0 | 1329 | return 0.0 |
1277 | // } | 1330 | // } |
1278 | - } else if (section == 2) { | 1331 | + } else if (section == 4) { |
1332 | + return 0.0 | ||
1333 | + } else if (section == 5) { | ||
1279 | return 0.0 | 1334 | return 0.0 |
1280 | } else { | 1335 | } else { |
1281 | return 0.0 | 1336 | return 0.0 |
... | @@ -1323,9 +1378,19 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1323,9 +1378,19 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1323 | return cell | 1378 | return cell |
1324 | 1379 | ||
1325 | } else if (indexPath.section == 1) { | 1380 | } else if (indexPath.section == 1) { |
1381 | + let cell = tableView.dequeueReusableCell(withIdentifier: "WalletQuestionnaireBannerTableViewCellId", for: indexPath) as! WalletQuestionnaireBannerTableViewCell | ||
1382 | + cell.configureCell() | ||
1383 | + return cell | ||
1384 | + } else if (indexPath.section == 2) { | ||
1385 | + let cell = tableView.dequeueReusableCell(withIdentifier: "WalletHistoryBannerTableViewCellId", for: indexPath) as! WalletHistoryBannerTableViewCell | ||
1386 | + return cell | ||
1387 | + } else if (indexPath.section == 3) { | ||
1326 | let cell = tableView.dequeueReusableCell(withIdentifier: "WalletVouchersBannerTableViewCellId", for: indexPath) as! WalletVouchersBannerTableViewCell | 1388 | let cell = tableView.dequeueReusableCell(withIdentifier: "WalletVouchersBannerTableViewCellId", for: indexPath) as! WalletVouchersBannerTableViewCell |
1327 | cell.configureCell(showSeparator: self.showActiveCouponsBanners, active: swiftApi().getShowVouchersBanner() == "true") | 1389 | cell.configureCell(showSeparator: self.showActiveCouponsBanners, active: swiftApi().getShowVouchersBanner() == "true") |
1328 | return cell | 1390 | return cell |
1391 | + } else if (indexPath.section == 4) { | ||
1392 | + let cell = tableView.dequeueReusableCell(withIdentifier: "WalletEmptyViewTableViewCellId", for: indexPath) as! WalletEmptyViewTableViewCell | ||
1393 | + return cell | ||
1329 | } else { | 1394 | } else { |
1330 | let cell = tableView.dequeueReusableCell(withIdentifier: "WalletSpinnerTableViewCellId", for: indexPath) as! WalletSpinnerTableViewCell | 1395 | let cell = tableView.dequeueReusableCell(withIdentifier: "WalletSpinnerTableViewCellId", for: indexPath) as! WalletSpinnerTableViewCell |
1331 | return cell | 1396 | return cell |
... | @@ -1376,6 +1441,23 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1376,6 +1441,23 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1376 | // Do nothing - Each button is handled differently | 1441 | // Do nothing - Each button is handled differently |
1377 | 1442 | ||
1378 | } else if (indexPath.section == 1) { | 1443 | } else if (indexPath.section == 1) { |
1444 | + swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "Questionnaire")) | ||
1445 | + | ||
1446 | + swiftApi().openQuestionnaire(self); | ||
1447 | + | ||
1448 | + } else if (indexPath.section == 2) { | ||
1449 | + let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
1450 | + firebaseEvent._eventName = "did_tap_history_badge" | ||
1451 | + firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | ||
1452 | + SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
1453 | + | ||
1454 | + swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "LoyaltyHistoryBadge")) | ||
1455 | + | ||
1456 | + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | ||
1457 | + let vc = storyboard.instantiateViewController(withIdentifier: "LoyaltyHistoryViewController") as! SwiftWarplyFramework.LoyaltyHistoryViewController | ||
1458 | + self.navigationController?.pushViewController(vc, animated: true) | ||
1459 | + | ||
1460 | + } else if (indexPath.section == 3) { | ||
1379 | let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | 1461 | let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() |
1380 | firebaseEvent._eventName = "did_tap_vouchers_badge" | 1462 | firebaseEvent._eventName = "did_tap_vouchers_badge" |
1381 | firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | 1463 | firebaseEvent.setParameter = ("screen", "Loyalty Wallet") |
... | @@ -1385,7 +1467,9 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1385,7 +1467,9 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1385 | 1467 | ||
1386 | SwiftEventBus.post("vouchers_banner_pressed") | 1468 | SwiftEventBus.post("vouchers_banner_pressed") |
1387 | 1469 | ||
1388 | - } else if (indexPath.section == 2) { | 1470 | + } else if (indexPath.section == 4) { |
1471 | + // Do nothing | ||
1472 | + } else if (indexPath.section == 5) { | ||
1389 | // Do nothing | 1473 | // Do nothing |
1390 | } else { | 1474 | } else { |
1391 | // Do nothing | 1475 | // Do nothing | ... | ... |
-
Please register or login to post a comment