Manos Chorianopoulos

GFY, WalletVC ui fixes redesign

...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -63,7 +63,7 @@ import SwiftEventBus ...@@ -63,7 +63,7 @@ import SwiftEventBus
63 // tableView.clipsToBounds = true 63 // tableView.clipsToBounds = true
64 // tableView.layer.cornerRadius = 30 64 // tableView.layer.cornerRadius = 30
65 // tableView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius 65 // tableView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
66 - tableView.contentInset.top = 50 66 + tableView.contentInset.top = 25
67 67
68 // Add Top left corner radius 68 // Add Top left corner radius
69 // mainView.clipsToBounds = true 69 // mainView.clipsToBounds = true
......
...@@ -1429,10 +1429,10 @@ ...@@ -1429,10 +1429,10 @@
1429 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> 1429 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1430 <subviews> 1430 <subviews>
1431 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Et1-y7-npI" userLabel="HeaderView"> 1431 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Et1-y7-npI" userLabel="HeaderView">
1432 - <rect key="frame" x="0.0" y="0.0" width="414" height="468"/> 1432 + <rect key="frame" x="0.0" y="0.0" width="414" height="458"/>
1433 <subviews> 1433 <subviews>
1434 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_background_straight" translatesAutoresizingMaskIntoConstraints="NO" id="wP5-YG-vSP"> 1434 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_background_straight" translatesAutoresizingMaskIntoConstraints="NO" id="wP5-YG-vSP">
1435 - <rect key="frame" x="0.0" y="0.0" width="414" height="468"/> 1435 + <rect key="frame" x="0.0" y="0.0" width="414" height="458"/>
1436 </imageView> 1436 </imageView>
1437 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wJv-NF-rMf"> 1437 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wJv-NF-rMf">
1438 <rect key="frame" x="174.5" y="30" width="65" height="65"/> 1438 <rect key="frame" x="174.5" y="30" width="65" height="65"/>
...@@ -1442,13 +1442,13 @@ ...@@ -1442,13 +1442,13 @@
1442 </constraints> 1442 </constraints>
1443 </imageView> 1443 </imageView>
1444 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Γιώργος Γεωργίου" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1XZ-NB-F8P"> 1444 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Γιώργος Γεωργίου" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1XZ-NB-F8P">
1445 - <rect key="frame" x="20" y="105" width="374" height="20"/> 1445 + <rect key="frame" x="20" y="105" width="374" height="21"/>
1446 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/> 1446 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
1447 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1447 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1448 <nil key="highlightedColor"/> 1448 <nil key="highlightedColor"/>
1449 </label> 1449 </label>
1450 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UNL-Oh-sPV"> 1450 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UNL-Oh-sPV">
1451 - <rect key="frame" x="174" y="135" width="66" height="313"/> 1451 + <rect key="frame" x="172" y="136" width="70" height="302"/>
1452 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 1452 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1453 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/> 1453 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/>
1454 <inset key="contentEdgeInsets" minX="10" minY="5" maxX="10" maxY="5"/> 1454 <inset key="contentEdgeInsets" minX="10" minY="5" maxX="10" maxY="5"/>
...@@ -1480,33 +1480,19 @@ ...@@ -1480,33 +1480,19 @@
1480 </constraints> 1480 </constraints>
1481 </view> 1481 </view>
1482 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ucx-dF-Jr2"> 1482 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ucx-dF-Jr2">
1483 - <rect key="frame" x="0.0" y="498" width="414" height="75"/> 1483 + <rect key="frame" x="0.0" y="488" width="414" height="80"/>
1484 <subviews> 1484 <subviews>
1485 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hdz-dS-6jm"> 1485 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hdz-dS-6jm">
1486 - <rect key="frame" x="25" y="0.0" width="379" height="75"/> 1486 + <rect key="frame" x="10" y="0.0" width="394" height="80"/>
1487 <subviews> 1487 <subviews>
1488 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Μέχρι τώρα έχεις κερδίσει 18,00€ με το DEALS for YOU!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h7B-UX-3wG">
1489 - <rect key="frame" x="65" y="17.5" width="304" height="40"/>
1490 - <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/>
1491 - <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1492 - <nil key="highlightedColor"/>
1493 - </label>
1494 - </subviews>
1495 - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1496 - <constraints>
1497 - <constraint firstAttribute="height" constant="75" id="9d9-gP-1Kb"/>
1498 - <constraint firstItem="h7B-UX-3wG" firstAttribute="centerY" secondItem="hdz-dS-6jm" secondAttribute="centerY" id="aJG-e2-wnD"/>
1499 - <constraint firstAttribute="trailing" secondItem="h7B-UX-3wG" secondAttribute="trailing" constant="10" id="v6n-48-DZo"/>
1500 - </constraints>
1501 - </view>
1502 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EpZ-Qo-xby"> 1488 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EpZ-Qo-xby">
1503 - <rect key="frame" x="10" y="2.5" width="70" height="70"/> 1489 + <rect key="frame" x="7" y="5" width="70" height="70"/>
1504 <subviews> 1490 <subviews>
1505 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_3" translatesAutoresizingMaskIntoConstraints="NO" id="3RL-2R-WXw"> 1491 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_3" translatesAutoresizingMaskIntoConstraints="NO" id="3RL-2R-WXw">
1506 <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> 1492 <rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
1507 </imageView> 1493 </imageView>
1508 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="18,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AIw-YV-t1D"> 1494 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="18,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AIw-YV-t1D">
1509 - <rect key="frame" x="5" y="44.5" width="60" height="15.5"/> 1495 + <rect key="frame" x="5" y="44" width="60" height="16"/>
1510 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/> 1496 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/>
1511 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1497 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1512 <nil key="highlightedColor"/> 1498 <nil key="highlightedColor"/>
...@@ -1525,8 +1511,24 @@ ...@@ -1525,8 +1511,24 @@
1525 <constraint firstAttribute="width" constant="70" id="xdM-k6-9ga"/> 1511 <constraint firstAttribute="width" constant="70" id="xdM-k6-9ga"/>
1526 </constraints> 1512 </constraints>
1527 </view> 1513 </view>
1514 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Μέχρι τώρα έχεις κερδίσει 18,00€ με το DEALS for YOU!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="h7B-UX-3wG">
1515 + <rect key="frame" x="87" y="19" width="297" height="42"/>
1516 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/>
1517 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1518 + <nil key="highlightedColor"/>
1519 + </label>
1520 + </subviews>
1521 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1522 + <constraints>
1523 + <constraint firstItem="h7B-UX-3wG" firstAttribute="leading" secondItem="EpZ-Qo-xby" secondAttribute="trailing" constant="10" id="B6I-fx-JN7"/>
1524 + <constraint firstItem="EpZ-Qo-xby" firstAttribute="centerY" secondItem="hdz-dS-6jm" secondAttribute="centerY" id="HbX-u7-o5w"/>
1525 + <constraint firstItem="h7B-UX-3wG" firstAttribute="centerY" secondItem="hdz-dS-6jm" secondAttribute="centerY" id="aJG-e2-wnD"/>
1526 + <constraint firstItem="EpZ-Qo-xby" firstAttribute="leading" secondItem="hdz-dS-6jm" secondAttribute="leading" constant="7" id="rEM-xm-0jO"/>
1527 + <constraint firstAttribute="trailing" secondItem="h7B-UX-3wG" secondAttribute="trailing" constant="10" id="v6n-48-DZo"/>
1528 + </constraints>
1529 + </view>
1528 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Cbf-yt-CwN" userLabel="DfyEarnButton"> 1530 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Cbf-yt-CwN" userLabel="DfyEarnButton">
1529 - <rect key="frame" x="10" y="0.0" width="394" height="75"/> 1531 + <rect key="frame" x="10" y="0.0" width="394" height="80"/>
1530 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 1532 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1531 <state key="normal" title="Button"/> 1533 <state key="normal" title="Button"/>
1532 <buttonConfiguration key="configuration" style="plain" title="Button"> 1534 <buttonConfiguration key="configuration" style="plain" title="Button">
...@@ -1540,47 +1542,30 @@ ...@@ -1540,47 +1542,30 @@
1540 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 1542 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1541 <constraints> 1543 <constraints>
1542 <constraint firstItem="Cbf-yt-CwN" firstAttribute="top" secondItem="Ucx-dF-Jr2" secondAttribute="top" id="2T0-UN-Foc"/> 1544 <constraint firstItem="Cbf-yt-CwN" firstAttribute="top" secondItem="Ucx-dF-Jr2" secondAttribute="top" id="2T0-UN-Foc"/>
1543 - <constraint firstItem="EpZ-Qo-xby" firstAttribute="centerY" secondItem="Ucx-dF-Jr2" secondAttribute="centerY" id="Sb1-CF-XSb"/>
1544 <constraint firstAttribute="bottom" secondItem="hdz-dS-6jm" secondAttribute="bottom" id="Yih-2P-hwc"/> 1545 <constraint firstAttribute="bottom" secondItem="hdz-dS-6jm" secondAttribute="bottom" id="Yih-2P-hwc"/>
1545 <constraint firstItem="hdz-dS-6jm" firstAttribute="top" secondItem="Ucx-dF-Jr2" secondAttribute="top" id="cwC-kA-Yle"/> 1546 <constraint firstItem="hdz-dS-6jm" firstAttribute="top" secondItem="Ucx-dF-Jr2" secondAttribute="top" id="cwC-kA-Yle"/>
1546 <constraint firstAttribute="trailing" secondItem="hdz-dS-6jm" secondAttribute="trailing" constant="10" id="fk1-c3-Nrv"/> 1547 <constraint firstAttribute="trailing" secondItem="hdz-dS-6jm" secondAttribute="trailing" constant="10" id="fk1-c3-Nrv"/>
1547 <constraint firstAttribute="trailing" secondItem="Cbf-yt-CwN" secondAttribute="trailing" constant="10" id="iBX-5P-hkw"/> 1548 <constraint firstAttribute="trailing" secondItem="Cbf-yt-CwN" secondAttribute="trailing" constant="10" id="iBX-5P-hkw"/>
1548 - <constraint firstItem="h7B-UX-3wG" firstAttribute="leading" secondItem="EpZ-Qo-xby" secondAttribute="trailing" constant="10" id="qlx-vD-X3Q"/>
1549 <constraint firstItem="Cbf-yt-CwN" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="10" id="tAO-sp-v0Y"/> 1549 <constraint firstItem="Cbf-yt-CwN" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="10" id="tAO-sp-v0Y"/>
1550 - <constraint firstItem="EpZ-Qo-xby" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="10" id="tLP-MG-taG"/>
1551 <constraint firstAttribute="bottom" secondItem="Cbf-yt-CwN" secondAttribute="bottom" id="ugX-0z-gIy"/> 1550 <constraint firstAttribute="bottom" secondItem="Cbf-yt-CwN" secondAttribute="bottom" id="ugX-0z-gIy"/>
1552 - <constraint firstAttribute="height" constant="75" id="vjU-tk-WMv"/> 1551 + <constraint firstAttribute="height" constant="80" id="vjU-tk-WMv"/>
1553 - <constraint firstItem="hdz-dS-6jm" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="25" id="xmx-rN-Usu"/> 1552 + <constraint firstItem="hdz-dS-6jm" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="10" id="xmx-rN-Usu"/>
1554 </constraints> 1553 </constraints>
1555 </view> 1554 </view>
1556 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qch-wV-dhe"> 1555 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qch-wV-dhe">
1557 - <rect key="frame" x="0.0" y="588" width="414" height="75"/> 1556 + <rect key="frame" x="0.0" y="583" width="414" height="80"/>
1558 <subviews> 1557 <subviews>
1559 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Fef-hi-2VL"> 1558 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Fef-hi-2VL">
1560 - <rect key="frame" x="25" y="0.0" width="379" height="75"/> 1559 + <rect key="frame" x="10" y="0.0" width="394" height="80"/>
1561 <subviews> 1560 <subviews>
1562 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Μέχρι τώρα έχεις κερδίσει 20,00€ σε προσφορές από 3 κουπόνια!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WdW-lP-g1v">
1563 - <rect key="frame" x="65" y="21" width="304" height="33"/>
1564 - <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/>
1565 - <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1566 - <nil key="highlightedColor"/>
1567 - </label>
1568 - </subviews>
1569 - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1570 - <constraints>
1571 - <constraint firstAttribute="height" constant="75" id="9eX-HX-DsV"/>
1572 - <constraint firstItem="WdW-lP-g1v" firstAttribute="centerY" secondItem="Fef-hi-2VL" secondAttribute="centerY" id="Tca-h6-G04"/>
1573 - <constraint firstAttribute="trailing" secondItem="WdW-lP-g1v" secondAttribute="trailing" constant="10" id="bCT-af-jA9"/>
1574 - </constraints>
1575 - </view>
1576 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LLM-FB-EYF"> 1561 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LLM-FB-EYF">
1577 - <rect key="frame" x="10" y="2.5" width="70" height="70"/> 1562 + <rect key="frame" x="7" y="5" width="70" height="70"/>
1578 <subviews> 1563 <subviews>
1579 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_coupons_4" translatesAutoresizingMaskIntoConstraints="NO" id="Vfg-nm-Igo"> 1564 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_coupons_4" translatesAutoresizingMaskIntoConstraints="NO" id="Vfg-nm-Igo">
1580 <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> 1565 <rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
1581 </imageView> 1566 </imageView>
1582 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="20,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cbA-fm-1uO"> 1567 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="20,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cbA-fm-1uO">
1583 - <rect key="frame" x="5" y="44.5" width="60" height="15.5"/> 1568 + <rect key="frame" x="5" y="44" width="60" height="16"/>
1584 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/> 1569 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/>
1585 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1570 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1586 <nil key="highlightedColor"/> 1571 <nil key="highlightedColor"/>
...@@ -1599,8 +1584,24 @@ ...@@ -1599,8 +1584,24 @@
1599 <constraint firstItem="cbA-fm-1uO" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="leading" constant="5" id="oat-uW-XpJ"/> 1584 <constraint firstItem="cbA-fm-1uO" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="leading" constant="5" id="oat-uW-XpJ"/>
1600 </constraints> 1585 </constraints>
1601 </view> 1586 </view>
1587 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Μέχρι τώρα έχεις κερδίσει 20,00€ σε προσφορές από 3 κουπόνια!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WdW-lP-g1v">
1588 + <rect key="frame" x="87" y="23" width="297" height="34.5"/>
1589 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/>
1590 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1591 + <nil key="highlightedColor"/>
1592 + </label>
1593 + </subviews>
1594 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1595 + <constraints>
1596 + <constraint firstItem="WdW-lP-g1v" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="trailing" constant="10" id="0Cm-EL-oDN"/>
1597 + <constraint firstItem="LLM-FB-EYF" firstAttribute="leading" secondItem="Fef-hi-2VL" secondAttribute="leading" constant="7" id="5bL-c6-gRD"/>
1598 + <constraint firstItem="LLM-FB-EYF" firstAttribute="centerY" secondItem="Fef-hi-2VL" secondAttribute="centerY" id="Lfh-U1-C4v"/>
1599 + <constraint firstItem="WdW-lP-g1v" firstAttribute="centerY" secondItem="Fef-hi-2VL" secondAttribute="centerY" id="Tca-h6-G04"/>
1600 + <constraint firstAttribute="trailing" secondItem="WdW-lP-g1v" secondAttribute="trailing" constant="10" id="bCT-af-jA9"/>
1601 + </constraints>
1602 + </view>
1602 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HAg-Jj-5fz" userLabel="CouponEarnButton"> 1603 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HAg-Jj-5fz" userLabel="CouponEarnButton">
1603 - <rect key="frame" x="10" y="0.0" width="394" height="75"/> 1604 + <rect key="frame" x="10" y="0.0" width="394" height="80"/>
1604 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 1605 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1605 <state key="normal" title="Button"/> 1606 <state key="normal" title="Button"/>
1606 <buttonConfiguration key="configuration" style="plain" title="Button"> 1607 <buttonConfiguration key="configuration" style="plain" title="Button">
...@@ -1613,14 +1614,11 @@ ...@@ -1613,14 +1614,11 @@
1613 </subviews> 1614 </subviews>
1614 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 1615 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
1615 <constraints> 1616 <constraints>
1616 - <constraint firstItem="WdW-lP-g1v" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="trailing" constant="10" id="4Z2-HD-b8o"/> 1617 + <constraint firstAttribute="height" constant="80" id="9tl-kW-vgw"/>
1617 - <constraint firstAttribute="height" constant="75" id="9tl-kW-vgw"/> 1618 + <constraint firstItem="Fef-hi-2VL" firstAttribute="leading" secondItem="Qch-wV-dhe" secondAttribute="leading" constant="10" id="Px1-u2-jUn"/>
1618 - <constraint firstItem="LLM-FB-EYF" firstAttribute="centerY" secondItem="Qch-wV-dhe" secondAttribute="centerY" id="DjT-sS-92y"/>
1619 - <constraint firstItem="Fef-hi-2VL" firstAttribute="leading" secondItem="Qch-wV-dhe" secondAttribute="leading" constant="25" id="Px1-u2-jUn"/>
1620 <constraint firstAttribute="bottom" secondItem="HAg-Jj-5fz" secondAttribute="bottom" id="RT4-no-o4h"/> 1619 <constraint firstAttribute="bottom" secondItem="HAg-Jj-5fz" secondAttribute="bottom" id="RT4-no-o4h"/>
1621 <constraint firstAttribute="trailing" secondItem="Fef-hi-2VL" secondAttribute="trailing" constant="10" id="gx6-Vg-7fc"/> 1620 <constraint firstAttribute="trailing" secondItem="Fef-hi-2VL" secondAttribute="trailing" constant="10" id="gx6-Vg-7fc"/>
1622 <constraint firstItem="Fef-hi-2VL" firstAttribute="top" secondItem="Qch-wV-dhe" secondAttribute="top" id="i7n-3M-5AQ"/> 1621 <constraint firstItem="Fef-hi-2VL" firstAttribute="top" secondItem="Qch-wV-dhe" secondAttribute="top" id="i7n-3M-5AQ"/>
1623 - <constraint firstItem="LLM-FB-EYF" firstAttribute="leading" secondItem="Qch-wV-dhe" secondAttribute="leading" constant="10" id="iJ5-eM-S3H"/>
1624 <constraint firstAttribute="bottom" secondItem="Fef-hi-2VL" secondAttribute="bottom" id="kJG-dc-ckl"/> 1622 <constraint firstAttribute="bottom" secondItem="Fef-hi-2VL" secondAttribute="bottom" id="kJG-dc-ckl"/>
1625 <constraint firstAttribute="trailing" secondItem="HAg-Jj-5fz" secondAttribute="trailing" constant="10" id="mEg-3z-cYr"/> 1623 <constraint firstAttribute="trailing" secondItem="HAg-Jj-5fz" secondAttribute="trailing" constant="10" id="mEg-3z-cYr"/>
1626 <constraint firstItem="HAg-Jj-5fz" firstAttribute="top" secondItem="Qch-wV-dhe" secondAttribute="top" id="sQY-xe-qYs"/> 1624 <constraint firstItem="HAg-Jj-5fz" firstAttribute="top" secondItem="Qch-wV-dhe" secondAttribute="top" id="sQY-xe-qYs"/>
...@@ -1732,7 +1730,7 @@ ...@@ -1732,7 +1730,7 @@
1732 <nil key="highlightedColor"/> 1730 <nil key="highlightedColor"/>
1733 </label> 1731 </label>
1734 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8YP-uG-vbV"> 1732 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8YP-uG-vbV">
1735 - <rect key="frame" x="20" y="468" width="374" height="0.0"/> 1733 + <rect key="frame" x="20" y="458" width="374" height="0.0"/>
1736 <subviews> 1734 <subviews>
1737 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="aYf-dv-3Ik"> 1735 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="aYf-dv-3Ik">
1738 <rect key="frame" x="149.5" y="30" width="75" height="75"/> 1736 <rect key="frame" x="149.5" y="30" width="75" height="75"/>
...@@ -1743,7 +1741,7 @@ ...@@ -1743,7 +1741,7 @@
1743 </constraints> 1741 </constraints>
1744 </imageView> 1742 </imageView>
1745 <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="SIP-ou-T3X"> 1743 <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="SIP-ou-T3X">
1746 - <rect key="frame" x="0.0" y="125" width="374" height="17.5"/> 1744 + <rect key="frame" x="0.0" y="125" width="374" height="18.5"/>
1747 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="15"/> 1745 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="15"/>
1748 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1746 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1749 <nil key="highlightedColor"/> 1747 <nil key="highlightedColor"/>
...@@ -1819,22 +1817,22 @@ ...@@ -1819,22 +1817,22 @@
1819 </constraints> 1817 </constraints>
1820 </view> 1818 </view>
1821 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BAb-kn-pw0"> 1819 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BAb-kn-pw0">
1822 - <rect key="frame" x="119" y="-13.5" width="255" height="20.5"/> 1820 + <rect key="frame" x="119" y="-15.5" width="255" height="21"/>
1823 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/> 1821 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
1824 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1822 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1825 <nil key="highlightedColor"/> 1823 <nil key="highlightedColor"/>
1826 </label> 1824 </label>
1827 <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="RJe-Li-bx3"> 1825 <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="RJe-Li-bx3">
1828 - <rect key="frame" x="119" y="12" width="255" height="41"/> 1826 + <rect key="frame" x="119" y="10.5" width="255" height="43.5"/>
1829 <subviews> 1827 <subviews>
1830 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wBw-w0-bGt"> 1828 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wBw-w0-bGt">
1831 - <rect key="frame" x="0.0" y="0.0" width="127.5" height="41"/> 1829 + <rect key="frame" x="0.0" y="0.0" width="127.5" height="43.5"/>
1832 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="35"/> 1830 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="35"/>
1833 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1831 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1834 <nil key="highlightedColor"/> 1832 <nil key="highlightedColor"/>
1835 </label> 1833 </label>
1836 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Yd2-ue-tBk"> 1834 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Yd2-ue-tBk">
1837 - <rect key="frame" x="132.5" y="13.5" width="122.5" height="14"/> 1835 + <rect key="frame" x="132.5" y="14.5" width="122.5" height="15"/>
1838 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/> 1836 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/>
1839 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1837 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1840 <nil key="highlightedColor"/> 1838 <nil key="highlightedColor"/>
...@@ -1846,7 +1844,7 @@ ...@@ -1846,7 +1844,7 @@
1846 </constraints> 1844 </constraints>
1847 </stackView> 1845 </stackView>
1848 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EEj-3C-9Td"> 1846 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EEj-3C-9Td">
1849 - <rect key="frame" x="119" y="58" width="255" height="14"/> 1847 + <rect key="frame" x="119" y="59" width="255" height="15"/>
1850 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/> 1848 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/>
1851 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1849 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1852 <nil key="highlightedColor"/> 1850 <nil key="highlightedColor"/>
...@@ -1910,16 +1908,16 @@ ...@@ -1910,16 +1908,16 @@
1910 <rect key="frame" x="10" y="0.0" width="394" height="100"/> 1908 <rect key="frame" x="10" y="0.0" width="394" height="100"/>
1911 <subviews> 1909 <subviews>
1912 <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="Pso-iJ-S9p"> 1910 <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="Pso-iJ-S9p">
1913 - <rect key="frame" x="20" y="31" width="254" height="38"/> 1911 + <rect key="frame" x="20" y="30" width="254" height="40"/>
1914 <subviews> 1912 <subviews>
1915 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ενεργός κωδικός:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="T8m-z1-J6k"> 1913 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ενεργός κωδικός:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="T8m-z1-J6k">
1916 - <rect key="frame" x="0.0" y="0.0" width="254" height="20"/> 1914 + <rect key="frame" x="0.0" y="0.0" width="254" height="21"/>
1917 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/> 1915 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/>
1918 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1916 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1919 <nil key="highlightedColor"/> 1917 <nil key="highlightedColor"/>
1920 </label> 1918 </label>
1921 <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jfx-z1-VHT"> 1919 <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jfx-z1-VHT">
1922 - <rect key="frame" x="0.0" y="22" width="254" height="0.0"/> 1920 + <rect key="frame" x="0.0" y="23" width="254" height="0.0"/>
1923 <subviews> 1921 <subviews>
1924 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TPp-HH-CgA"> 1922 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TPp-HH-CgA">
1925 <rect key="frame" x="0.0" y="0.0" width="254" height="0.0"/> 1923 <rect key="frame" x="0.0" y="0.0" width="254" height="0.0"/>
...@@ -1949,7 +1947,7 @@ ...@@ -1949,7 +1947,7 @@
1949 <nil key="highlightedColor"/> 1947 <nil key="highlightedColor"/>
1950 </label> 1948 </label>
1951 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Λήγει σε 4 ημέρες" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zz2-r5-rnf"> 1949 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Λήγει σε 4 ημέρες" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zz2-r5-rnf">
1952 - <rect key="frame" x="0.0" y="24" width="254" height="14"/> 1950 + <rect key="frame" x="0.0" y="25" width="254" height="15"/>
1953 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/> 1951 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/>
1954 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 1952 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
1955 <nil key="highlightedColor"/> 1953 <nil key="highlightedColor"/>
...@@ -2052,19 +2050,19 @@ ...@@ -2052,19 +2050,19 @@
2052 </constraints> 2050 </constraints>
2053 </view> 2051 </view>
2054 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Ng-4X-yjm"> 2052 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Ng-4X-yjm">
2055 - <rect key="frame" x="119" y="15" width="163.5" height="20"/> 2053 + <rect key="frame" x="119" y="15" width="163.5" height="17"/>
2056 <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> 2054 <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/>
2057 <color key="textColor" red="0.2274509804" green="0.32156862749999998" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> 2055 <color key="textColor" red="0.2274509804" green="0.32156862749999998" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
2058 <nil key="highlightedColor"/> 2056 <nil key="highlightedColor"/>
2059 </label> 2057 </label>
2060 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KJD-Db-B4t"> 2058 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KJD-Db-B4t">
2061 - <rect key="frame" x="292.5" y="25.5" width="81.5" height="14"/> 2059 + <rect key="frame" x="292.5" y="26.5" width="81.5" height="12"/>
2062 <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/> 2060 <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/>
2063 <color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/> 2061 <color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/>
2064 <nil key="highlightedColor"/> 2062 <nil key="highlightedColor"/>
2065 </label> 2063 </label>
2066 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C5t-xz-oAO"> 2064 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C5t-xz-oAO">
2067 - <rect key="frame" x="119" y="35.5" width="255" height="14"/> 2065 + <rect key="frame" x="119" y="37.5" width="255" height="12"/>
2068 <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/> 2066 <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/>
2069 <color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/> 2067 <color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/>
2070 <nil key="highlightedColor"/> 2068 <nil key="highlightedColor"/>
...@@ -2120,19 +2118,19 @@ ...@@ -2120,19 +2118,19 @@
2120 <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> 2118 <rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
2121 <autoresizingMask key="autoresizingMask"/> 2119 <autoresizingMask key="autoresizingMask"/>
2122 <subviews> 2120 <subviews>
2123 - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AV7-t1-eK0"> 2121 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AV7-t1-eK0">
2124 <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> 2122 <rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
2125 <subviews> 2123 <subviews>
2126 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="COSMOTE Επιβράβευση" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z0E-V6-vKD"> 2124 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="COSMOTE Επιβράβευση" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z0E-V6-vKD">
2127 <rect key="frame" x="20" y="30" width="374" height="0.0"/> 2125 <rect key="frame" x="20" y="30" width="374" height="0.0"/>
2128 <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="21"/> 2126 <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="21"/>
2129 <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 2127 <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
2130 <nil key="highlightedColor"/> 2128 <nil key="highlightedColor"/>
2131 </label> 2129 </label>
2132 - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="kge-nO-6ZA" userLabel="BadgesView"> 2130 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kge-nO-6ZA" userLabel="BadgesView">
2133 <rect key="frame" x="0.0" y="44" width="414" height="0.0"/> 2131 <rect key="frame" x="0.0" y="44" width="414" height="0.0"/>
2134 <subviews> 2132 <subviews>
2135 - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" image="wallet_badge_lines" translatesAutoresizingMaskIntoConstraints="NO" id="Cib-tj-hT7"> 2133 + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_badge_lines" translatesAutoresizingMaskIntoConstraints="NO" id="Cib-tj-hT7">
2136 <rect key="frame" x="7" y="50" width="400" height="80"/> 2134 <rect key="frame" x="7" y="50" width="400" height="80"/>
2137 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 2135 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
2138 <constraints> 2136 <constraints>
...@@ -2140,14 +2138,14 @@ ...@@ -2140,14 +2138,14 @@
2140 <constraint firstAttribute="width" constant="400" id="aZp-jX-jNM"/> 2138 <constraint firstAttribute="width" constant="400" id="aZp-jX-jNM"/>
2141 </constraints> 2139 </constraints>
2142 </imageView> 2140 </imageView>
2143 - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="UuC-Lf-eNr"> 2141 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UuC-Lf-eNr">
2144 <rect key="frame" x="162" y="0.0" width="90" height="90"/> 2142 <rect key="frame" x="162" y="0.0" width="90" height="90"/>
2145 <subviews> 2143 <subviews>
2146 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="myJ-Di-R2M"> 2144 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="myJ-Di-R2M">
2147 <rect key="frame" x="0.0" y="0.0" width="90" height="90"/> 2145 <rect key="frame" x="0.0" y="0.0" width="90" height="90"/>
2148 </imageView> 2146 </imageView>
2149 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AHT-NP-UcH"> 2147 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AHT-NP-UcH">
2150 - <rect key="frame" x="5" y="51.666666666666671" width="80" height="16.333333333333329"/> 2148 + <rect key="frame" x="5" y="54" width="80" height="14"/>
2151 <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="14"/> 2149 <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="14"/>
2152 <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> 2150 <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
2153 <nil key="highlightedColor"/> 2151 <nil key="highlightedColor"/>
...@@ -2166,14 +2164,14 @@ ...@@ -2166,14 +2164,14 @@
2166 <constraint firstAttribute="trailing" secondItem="myJ-Di-R2M" secondAttribute="trailing" id="yP0-4e-mRo"/> 2164 <constraint firstAttribute="trailing" secondItem="myJ-Di-R2M" secondAttribute="trailing" id="yP0-4e-mRo"/>
2167 </constraints> 2165 </constraints>
2168 </view> 2166 </view>
2169 - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="af5-Pz-rum"> 2167 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="af5-Pz-rum">
2170 - <rect key="frame" x="64.666666666666686" y="100" width="75" height="75"/> 2168 + <rect key="frame" x="64.5" y="100" width="75" height="75"/>
2171 <subviews> 2169 <subviews>
2172 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="K43-m1-wTl"> 2170 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="K43-m1-wTl">
2173 <rect key="frame" x="0.0" y="0.0" width="75" height="75"/> 2171 <rect key="frame" x="0.0" y="0.0" width="75" height="75"/>
2174 </imageView> 2172 </imageView>
2175 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Ku-5y-o0b"> 2173 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Ku-5y-o0b">
2176 - <rect key="frame" x="5" y="44" width="65" height="13"/> 2174 + <rect key="frame" x="5" y="46" width="65" height="11"/>
2177 <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/> 2175 <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/>
2178 <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> 2176 <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
2179 <nil key="highlightedColor"/> 2177 <nil key="highlightedColor"/>
...@@ -2207,14 +2205,14 @@ ...@@ -2207,14 +2205,14 @@
2207 <constraint firstAttribute="height" constant="75" id="sgx-Z2-YsH"/> 2205 <constraint firstAttribute="height" constant="75" id="sgx-Z2-YsH"/>
2208 </constraints> 2206 </constraints>
2209 </view> 2207 </view>
2210 - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Qge-34-vJ3"> 2208 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qge-34-vJ3">
2211 - <rect key="frame" x="169.66666666666666" y="120" width="75" height="73"/> 2209 + <rect key="frame" x="169.5" y="120" width="75" height="73"/>
2212 <subviews> 2210 <subviews>
2213 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="gGn-2u-akB"> 2211 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="gGn-2u-akB">
2214 <rect key="frame" x="0.0" y="0.0" width="75" height="73"/> 2212 <rect key="frame" x="0.0" y="0.0" width="75" height="73"/>
2215 </imageView> 2213 </imageView>
2216 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8JV-5a-Jar"> 2214 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8JV-5a-Jar">
2217 - <rect key="frame" x="5" y="42" width="65" height="13"/> 2215 + <rect key="frame" x="5" y="44" width="65" height="11"/>
2218 <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/> 2216 <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/>
2219 <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> 2217 <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
2220 <nil key="highlightedColor"/> 2218 <nil key="highlightedColor"/>
...@@ -2248,14 +2246,14 @@ ...@@ -2248,14 +2246,14 @@
2248 <constraint firstAttribute="trailing" secondItem="6UC-iU-ey4" secondAttribute="trailing" id="cB7-Ks-NGG"/> 2246 <constraint firstAttribute="trailing" secondItem="6UC-iU-ey4" secondAttribute="trailing" id="cB7-Ks-NGG"/>
2249 </constraints> 2247 </constraints>
2250 </view> 2248 </view>
2251 - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8V2-Ru-8jC"> 2249 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8V2-Ru-8jC">
2252 - <rect key="frame" x="274.66666666666669" y="100" width="75" height="75"/> 2250 + <rect key="frame" x="274.5" y="100" width="75" height="75"/>
2253 <subviews> 2251 <subviews>
2254 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="oXU-NL-imE"> 2252 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="oXU-NL-imE">
2255 <rect key="frame" x="0.0" y="0.0" width="75" height="75"/> 2253 <rect key="frame" x="0.0" y="0.0" width="75" height="75"/>
2256 </imageView> 2254 </imageView>
2257 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wxE-g9-jaK"> 2255 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wxE-g9-jaK">
2258 - <rect key="frame" x="5" y="44" width="65" height="13"/> 2256 + <rect key="frame" x="5" y="46" width="65" height="11"/>
2259 <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/> 2257 <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/>
2260 <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> 2258 <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
2261 <nil key="highlightedColor"/> 2259 <nil key="highlightedColor"/>
......
...@@ -225,6 +225,13 @@ import SwiftEventBus ...@@ -225,6 +225,13 @@ import SwiftEventBus
225 dfyEarnAmountLabel.text = totalCouponValueString + "€" 225 dfyEarnAmountLabel.text = totalCouponValueString + "€"
226 // dfyEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 14) 226 // dfyEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 14)
227 227
228 + let totalCouponValueIntCount = String(Int(totalCouponValue)).count
229 + if (totalCouponValueIntCount >= 3) {
230 + dfyEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 11)
231 + } else {
232 + dfyEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 13)
233 + }
234 +
228 if (loyaltyBadge._couponCount == 0) { 235 if (loyaltyBadge._couponCount == 0) {
229 couponEarnView.isHidden = true 236 couponEarnView.isHidden = true
230 couponEarnViewHeight.constant = 0 237 couponEarnViewHeight.constant = 0
...@@ -277,6 +284,13 @@ import SwiftEventBus ...@@ -277,6 +284,13 @@ import SwiftEventBus
277 284
278 couponEarnAmountLabel.text = totalCouponDiscountString + "€" 285 couponEarnAmountLabel.text = totalCouponDiscountString + "€"
279 286
287 + let totalCouponDiscountIntCount = String(Int(totalCouponDiscount)).count
288 + if (totalCouponDiscountIntCount >= 3) {
289 + couponEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 11)
290 + } else {
291 + couponEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 13)
292 + }
293 +
280 print("Loyalty Badge Value: " + totalCouponDiscountString) 294 print("Loyalty Badge Value: " + totalCouponDiscountString)
281 print("Loyalty Badge Count: " + String(loyaltyBadge._couponCount)) 295 print("Loyalty Badge Count: " + String(loyaltyBadge._couponCount))
282 296
......