Manos Chorianopoulos

GFY, WalletVC ui fixes redesign

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -63,7 +63,7 @@ import SwiftEventBus
// tableView.clipsToBounds = true
// tableView.layer.cornerRadius = 30
// tableView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
tableView.contentInset.top = 50
tableView.contentInset.top = 25
// Add Top left corner radius
// mainView.clipsToBounds = true
......
......@@ -1429,10 +1429,10 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Et1-y7-npI" userLabel="HeaderView">
<rect key="frame" x="0.0" y="0.0" width="414" height="468"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="458"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_background_straight" translatesAutoresizingMaskIntoConstraints="NO" id="wP5-YG-vSP">
<rect key="frame" x="0.0" y="0.0" width="414" height="468"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="458"/>
</imageView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wJv-NF-rMf">
<rect key="frame" x="174.5" y="30" width="65" height="65"/>
......@@ -1442,13 +1442,13 @@
</constraints>
</imageView>
<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">
<rect key="frame" x="20" y="105" width="374" height="20"/>
<rect key="frame" x="20" y="105" width="374" height="21"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UNL-Oh-sPV">
<rect key="frame" x="174" y="135" width="66" height="313"/>
<rect key="frame" x="172" y="136" width="70" height="302"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/>
<inset key="contentEdgeInsets" minX="10" minY="5" maxX="10" maxY="5"/>
......@@ -1480,13 +1480,39 @@
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ucx-dF-Jr2">
<rect key="frame" x="0.0" y="498" width="414" height="75"/>
<rect key="frame" x="0.0" y="488" width="414" height="80"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hdz-dS-6jm">
<rect key="frame" x="25" y="0.0" width="379" height="75"/>
<rect key="frame" x="10" y="0.0" width="394" height="80"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EpZ-Qo-xby">
<rect key="frame" x="7" y="5" width="70" height="70"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_3" translatesAutoresizingMaskIntoConstraints="NO" id="3RL-2R-WXw">
<rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
</imageView>
<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">
<rect key="frame" x="5" y="44" width="60" height="16"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="AIw-YV-t1D" secondAttribute="trailing" constant="5" id="G6d-Sk-jvZ"/>
<constraint firstAttribute="trailing" secondItem="3RL-2R-WXw" secondAttribute="trailing" id="HL4-6q-hD6"/>
<constraint firstItem="3RL-2R-WXw" firstAttribute="leading" secondItem="EpZ-Qo-xby" secondAttribute="leading" id="Qcq-sK-rss"/>
<constraint firstAttribute="bottom" secondItem="AIw-YV-t1D" secondAttribute="bottom" constant="10" id="WfI-TH-Ji4"/>
<constraint firstAttribute="height" constant="70" id="hHb-3c-W00"/>
<constraint firstAttribute="bottom" secondItem="3RL-2R-WXw" secondAttribute="bottom" id="hZd-Uk-fPO"/>
<constraint firstItem="AIw-YV-t1D" firstAttribute="leading" secondItem="EpZ-Qo-xby" secondAttribute="leading" constant="5" id="l48-hw-6O7"/>
<constraint firstItem="3RL-2R-WXw" firstAttribute="top" secondItem="EpZ-Qo-xby" secondAttribute="top" id="x3l-B7-9AT"/>
<constraint firstAttribute="width" constant="70" id="xdM-k6-9ga"/>
</constraints>
</view>
<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">
<rect key="frame" x="65" y="17.5" width="304" height="40"/>
<rect key="frame" x="87" y="19" width="297" height="42"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -1494,39 +1520,15 @@
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="75" id="9d9-gP-1Kb"/>
<constraint firstItem="h7B-UX-3wG" firstAttribute="leading" secondItem="EpZ-Qo-xby" secondAttribute="trailing" constant="10" id="B6I-fx-JN7"/>
<constraint firstItem="EpZ-Qo-xby" firstAttribute="centerY" secondItem="hdz-dS-6jm" secondAttribute="centerY" id="HbX-u7-o5w"/>
<constraint firstItem="h7B-UX-3wG" firstAttribute="centerY" secondItem="hdz-dS-6jm" secondAttribute="centerY" id="aJG-e2-wnD"/>
<constraint firstItem="EpZ-Qo-xby" firstAttribute="leading" secondItem="hdz-dS-6jm" secondAttribute="leading" constant="7" id="rEM-xm-0jO"/>
<constraint firstAttribute="trailing" secondItem="h7B-UX-3wG" secondAttribute="trailing" constant="10" id="v6n-48-DZo"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EpZ-Qo-xby">
<rect key="frame" x="10" y="2.5" width="70" height="70"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_3" translatesAutoresizingMaskIntoConstraints="NO" id="3RL-2R-WXw">
<rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
</imageView>
<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">
<rect key="frame" x="5" y="44.5" width="60" height="15.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="AIw-YV-t1D" secondAttribute="trailing" constant="5" id="G6d-Sk-jvZ"/>
<constraint firstAttribute="trailing" secondItem="3RL-2R-WXw" secondAttribute="trailing" id="HL4-6q-hD6"/>
<constraint firstItem="3RL-2R-WXw" firstAttribute="leading" secondItem="EpZ-Qo-xby" secondAttribute="leading" id="Qcq-sK-rss"/>
<constraint firstAttribute="bottom" secondItem="AIw-YV-t1D" secondAttribute="bottom" constant="10" id="WfI-TH-Ji4"/>
<constraint firstAttribute="height" constant="70" id="hHb-3c-W00"/>
<constraint firstAttribute="bottom" secondItem="3RL-2R-WXw" secondAttribute="bottom" id="hZd-Uk-fPO"/>
<constraint firstItem="AIw-YV-t1D" firstAttribute="leading" secondItem="EpZ-Qo-xby" secondAttribute="leading" constant="5" id="l48-hw-6O7"/>
<constraint firstItem="3RL-2R-WXw" firstAttribute="top" secondItem="EpZ-Qo-xby" secondAttribute="top" id="x3l-B7-9AT"/>
<constraint firstAttribute="width" constant="70" id="xdM-k6-9ga"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Cbf-yt-CwN" userLabel="DfyEarnButton">
<rect key="frame" x="10" y="0.0" width="394" height="75"/>
<rect key="frame" x="10" y="0.0" width="394" height="80"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Button">
......@@ -1540,27 +1542,50 @@
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="Cbf-yt-CwN" firstAttribute="top" secondItem="Ucx-dF-Jr2" secondAttribute="top" id="2T0-UN-Foc"/>
<constraint firstItem="EpZ-Qo-xby" firstAttribute="centerY" secondItem="Ucx-dF-Jr2" secondAttribute="centerY" id="Sb1-CF-XSb"/>
<constraint firstAttribute="bottom" secondItem="hdz-dS-6jm" secondAttribute="bottom" id="Yih-2P-hwc"/>
<constraint firstItem="hdz-dS-6jm" firstAttribute="top" secondItem="Ucx-dF-Jr2" secondAttribute="top" id="cwC-kA-Yle"/>
<constraint firstAttribute="trailing" secondItem="hdz-dS-6jm" secondAttribute="trailing" constant="10" id="fk1-c3-Nrv"/>
<constraint firstAttribute="trailing" secondItem="Cbf-yt-CwN" secondAttribute="trailing" constant="10" id="iBX-5P-hkw"/>
<constraint firstItem="h7B-UX-3wG" firstAttribute="leading" secondItem="EpZ-Qo-xby" secondAttribute="trailing" constant="10" id="qlx-vD-X3Q"/>
<constraint firstItem="Cbf-yt-CwN" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="10" id="tAO-sp-v0Y"/>
<constraint firstItem="EpZ-Qo-xby" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="10" id="tLP-MG-taG"/>
<constraint firstAttribute="bottom" secondItem="Cbf-yt-CwN" secondAttribute="bottom" id="ugX-0z-gIy"/>
<constraint firstAttribute="height" constant="75" id="vjU-tk-WMv"/>
<constraint firstItem="hdz-dS-6jm" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="25" id="xmx-rN-Usu"/>
<constraint firstAttribute="height" constant="80" id="vjU-tk-WMv"/>
<constraint firstItem="hdz-dS-6jm" firstAttribute="leading" secondItem="Ucx-dF-Jr2" secondAttribute="leading" constant="10" id="xmx-rN-Usu"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qch-wV-dhe">
<rect key="frame" x="0.0" y="588" width="414" height="75"/>
<rect key="frame" x="0.0" y="583" width="414" height="80"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Fef-hi-2VL">
<rect key="frame" x="25" y="0.0" width="379" height="75"/>
<rect key="frame" x="10" y="0.0" width="394" height="80"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LLM-FB-EYF">
<rect key="frame" x="7" y="5" width="70" height="70"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_coupons_4" translatesAutoresizingMaskIntoConstraints="NO" id="Vfg-nm-Igo">
<rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
</imageView>
<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">
<rect key="frame" x="5" y="44" width="60" height="16"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="70" id="1q3-Hk-lCS"/>
<constraint firstAttribute="trailing" secondItem="cbA-fm-1uO" secondAttribute="trailing" constant="5" id="Csy-Vt-JD0"/>
<constraint firstAttribute="trailing" secondItem="Vfg-nm-Igo" secondAttribute="trailing" id="GCn-AI-xSF"/>
<constraint firstAttribute="height" constant="70" id="GZK-fu-Rdf"/>
<constraint firstAttribute="bottom" secondItem="Vfg-nm-Igo" secondAttribute="bottom" id="OWH-uc-kdo"/>
<constraint firstItem="Vfg-nm-Igo" firstAttribute="top" secondItem="LLM-FB-EYF" secondAttribute="top" id="Qhu-fj-DHh"/>
<constraint firstItem="Vfg-nm-Igo" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="leading" id="XGS-1M-h4w"/>
<constraint firstAttribute="bottom" secondItem="cbA-fm-1uO" secondAttribute="bottom" constant="10" id="ZSH-8w-7hG"/>
<constraint firstItem="cbA-fm-1uO" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="leading" constant="5" id="oat-uW-XpJ"/>
</constraints>
</view>
<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">
<rect key="frame" x="65" y="21" width="304" height="33"/>
<rect key="frame" x="87" y="23" width="297" height="34.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -1568,39 +1593,15 @@
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="75" id="9eX-HX-DsV"/>
<constraint firstItem="WdW-lP-g1v" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="trailing" constant="10" id="0Cm-EL-oDN"/>
<constraint firstItem="LLM-FB-EYF" firstAttribute="leading" secondItem="Fef-hi-2VL" secondAttribute="leading" constant="7" id="5bL-c6-gRD"/>
<constraint firstItem="LLM-FB-EYF" firstAttribute="centerY" secondItem="Fef-hi-2VL" secondAttribute="centerY" id="Lfh-U1-C4v"/>
<constraint firstItem="WdW-lP-g1v" firstAttribute="centerY" secondItem="Fef-hi-2VL" secondAttribute="centerY" id="Tca-h6-G04"/>
<constraint firstAttribute="trailing" secondItem="WdW-lP-g1v" secondAttribute="trailing" constant="10" id="bCT-af-jA9"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LLM-FB-EYF">
<rect key="frame" x="10" y="2.5" width="70" height="70"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_coupons_4" translatesAutoresizingMaskIntoConstraints="NO" id="Vfg-nm-Igo">
<rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
</imageView>
<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">
<rect key="frame" x="5" y="44.5" width="60" height="15.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="70" id="1q3-Hk-lCS"/>
<constraint firstAttribute="trailing" secondItem="cbA-fm-1uO" secondAttribute="trailing" constant="5" id="Csy-Vt-JD0"/>
<constraint firstAttribute="trailing" secondItem="Vfg-nm-Igo" secondAttribute="trailing" id="GCn-AI-xSF"/>
<constraint firstAttribute="height" constant="70" id="GZK-fu-Rdf"/>
<constraint firstAttribute="bottom" secondItem="Vfg-nm-Igo" secondAttribute="bottom" id="OWH-uc-kdo"/>
<constraint firstItem="Vfg-nm-Igo" firstAttribute="top" secondItem="LLM-FB-EYF" secondAttribute="top" id="Qhu-fj-DHh"/>
<constraint firstItem="Vfg-nm-Igo" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="leading" id="XGS-1M-h4w"/>
<constraint firstAttribute="bottom" secondItem="cbA-fm-1uO" secondAttribute="bottom" constant="10" id="ZSH-8w-7hG"/>
<constraint firstItem="cbA-fm-1uO" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="leading" constant="5" id="oat-uW-XpJ"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HAg-Jj-5fz" userLabel="CouponEarnButton">
<rect key="frame" x="10" y="0.0" width="394" height="75"/>
<rect key="frame" x="10" y="0.0" width="394" height="80"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Button">
......@@ -1613,14 +1614,11 @@
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="WdW-lP-g1v" firstAttribute="leading" secondItem="LLM-FB-EYF" secondAttribute="trailing" constant="10" id="4Z2-HD-b8o"/>
<constraint firstAttribute="height" constant="75" id="9tl-kW-vgw"/>
<constraint firstItem="LLM-FB-EYF" firstAttribute="centerY" secondItem="Qch-wV-dhe" secondAttribute="centerY" id="DjT-sS-92y"/>
<constraint firstItem="Fef-hi-2VL" firstAttribute="leading" secondItem="Qch-wV-dhe" secondAttribute="leading" constant="25" id="Px1-u2-jUn"/>
<constraint firstAttribute="height" constant="80" id="9tl-kW-vgw"/>
<constraint firstItem="Fef-hi-2VL" firstAttribute="leading" secondItem="Qch-wV-dhe" secondAttribute="leading" constant="10" id="Px1-u2-jUn"/>
<constraint firstAttribute="bottom" secondItem="HAg-Jj-5fz" secondAttribute="bottom" id="RT4-no-o4h"/>
<constraint firstAttribute="trailing" secondItem="Fef-hi-2VL" secondAttribute="trailing" constant="10" id="gx6-Vg-7fc"/>
<constraint firstItem="Fef-hi-2VL" firstAttribute="top" secondItem="Qch-wV-dhe" secondAttribute="top" id="i7n-3M-5AQ"/>
<constraint firstItem="LLM-FB-EYF" firstAttribute="leading" secondItem="Qch-wV-dhe" secondAttribute="leading" constant="10" id="iJ5-eM-S3H"/>
<constraint firstAttribute="bottom" secondItem="Fef-hi-2VL" secondAttribute="bottom" id="kJG-dc-ckl"/>
<constraint firstAttribute="trailing" secondItem="HAg-Jj-5fz" secondAttribute="trailing" constant="10" id="mEg-3z-cYr"/>
<constraint firstItem="HAg-Jj-5fz" firstAttribute="top" secondItem="Qch-wV-dhe" secondAttribute="top" id="sQY-xe-qYs"/>
......@@ -1732,7 +1730,7 @@
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8YP-uG-vbV">
<rect key="frame" x="20" y="468" width="374" height="0.0"/>
<rect key="frame" x="20" y="458" width="374" height="0.0"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="aYf-dv-3Ik">
<rect key="frame" x="149.5" y="30" width="75" height="75"/>
......@@ -1743,7 +1741,7 @@
</constraints>
</imageView>
<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">
<rect key="frame" x="0.0" y="125" width="374" height="17.5"/>
<rect key="frame" x="0.0" y="125" width="374" height="18.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="15"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -1819,22 +1817,22 @@
</constraints>
</view>
<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">
<rect key="frame" x="119" y="-13.5" width="255" height="20.5"/>
<rect key="frame" x="119" y="-15.5" width="255" height="21"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="RJe-Li-bx3">
<rect key="frame" x="119" y="12" width="255" height="41"/>
<rect key="frame" x="119" y="10.5" width="255" height="43.5"/>
<subviews>
<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">
<rect key="frame" x="0.0" y="0.0" width="127.5" height="41"/>
<rect key="frame" x="0.0" y="0.0" width="127.5" height="43.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="35"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<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">
<rect key="frame" x="132.5" y="13.5" width="122.5" height="14"/>
<rect key="frame" x="132.5" y="14.5" width="122.5" height="15"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -1846,7 +1844,7 @@
</constraints>
</stackView>
<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">
<rect key="frame" x="119" y="58" width="255" height="14"/>
<rect key="frame" x="119" y="59" width="255" height="15"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -1910,16 +1908,16 @@
<rect key="frame" x="10" y="0.0" width="394" height="100"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="Pso-iJ-S9p">
<rect key="frame" x="20" y="31" width="254" height="38"/>
<rect key="frame" x="20" y="30" width="254" height="40"/>
<subviews>
<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">
<rect key="frame" x="0.0" y="0.0" width="254" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="254" height="21"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jfx-z1-VHT">
<rect key="frame" x="0.0" y="22" width="254" height="0.0"/>
<rect key="frame" x="0.0" y="23" width="254" height="0.0"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TPp-HH-CgA">
<rect key="frame" x="0.0" y="0.0" width="254" height="0.0"/>
......@@ -1949,7 +1947,7 @@
<nil key="highlightedColor"/>
</label>
<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">
<rect key="frame" x="0.0" y="24" width="254" height="14"/>
<rect key="frame" x="0.0" y="25" width="254" height="15"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -2052,19 +2050,19 @@
</constraints>
</view>
<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">
<rect key="frame" x="119" y="15" width="163.5" height="20"/>
<rect key="frame" x="119" y="15" width="163.5" height="17"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/>
<color key="textColor" red="0.2274509804" green="0.32156862749999998" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<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">
<rect key="frame" x="292.5" y="25.5" width="81.5" height="14"/>
<rect key="frame" x="292.5" y="26.5" width="81.5" height="12"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/>
<color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<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">
<rect key="frame" x="119" y="35.5" width="255" height="14"/>
<rect key="frame" x="119" y="37.5" width="255" height="12"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/>
<color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -2120,19 +2118,19 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AV7-t1-eK0">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AV7-t1-eK0">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<subviews>
<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">
<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">
<rect key="frame" x="20" y="30" width="374" height="0.0"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="21"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="kge-nO-6ZA" userLabel="BadgesView">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kge-nO-6ZA" userLabel="BadgesView">
<rect key="frame" x="0.0" y="44" width="414" height="0.0"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" image="wallet_badge_lines" translatesAutoresizingMaskIntoConstraints="NO" id="Cib-tj-hT7">
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_badge_lines" translatesAutoresizingMaskIntoConstraints="NO" id="Cib-tj-hT7">
<rect key="frame" x="7" y="50" width="400" height="80"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
......@@ -2140,14 +2138,14 @@
<constraint firstAttribute="width" constant="400" id="aZp-jX-jNM"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="UuC-Lf-eNr">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UuC-Lf-eNr">
<rect key="frame" x="162" y="0.0" width="90" height="90"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="myJ-Di-R2M">
<rect key="frame" x="0.0" y="0.0" width="90" height="90"/>
</imageView>
<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">
<rect key="frame" x="5" y="51.666666666666671" width="80" height="16.333333333333329"/>
<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">
<rect key="frame" x="5" y="54" width="80" height="14"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="14"/>
<color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -2166,14 +2164,14 @@
<constraint firstAttribute="trailing" secondItem="myJ-Di-R2M" secondAttribute="trailing" id="yP0-4e-mRo"/>
</constraints>
</view>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="af5-Pz-rum">
<rect key="frame" x="64.666666666666686" y="100" width="75" height="75"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="af5-Pz-rum">
<rect key="frame" x="64.5" y="100" width="75" height="75"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="K43-m1-wTl">
<rect key="frame" x="0.0" y="0.0" width="75" height="75"/>
</imageView>
<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">
<rect key="frame" x="5" y="44" width="65" height="13"/>
<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">
<rect key="frame" x="5" y="46" width="65" height="11"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/>
<color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -2207,14 +2205,14 @@
<constraint firstAttribute="height" constant="75" id="sgx-Z2-YsH"/>
</constraints>
</view>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Qge-34-vJ3">
<rect key="frame" x="169.66666666666666" y="120" width="75" height="73"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qge-34-vJ3">
<rect key="frame" x="169.5" y="120" width="75" height="73"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="gGn-2u-akB">
<rect key="frame" x="0.0" y="0.0" width="75" height="73"/>
</imageView>
<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">
<rect key="frame" x="5" y="42" width="65" height="13"/>
<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">
<rect key="frame" x="5" y="44" width="65" height="11"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/>
<color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......@@ -2248,14 +2246,14 @@
<constraint firstAttribute="trailing" secondItem="6UC-iU-ey4" secondAttribute="trailing" id="cB7-Ks-NGG"/>
</constraints>
</view>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8V2-Ru-8jC">
<rect key="frame" x="274.66666666666669" y="100" width="75" height="75"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8V2-Ru-8jC">
<rect key="frame" x="274.5" y="100" width="75" height="75"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="oXU-NL-imE">
<rect key="frame" x="0.0" y="0.0" width="75" height="75"/>
</imageView>
<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">
<rect key="frame" x="5" y="44" width="65" height="13"/>
<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">
<rect key="frame" x="5" y="46" width="65" height="11"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/>
<color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
......
......@@ -224,6 +224,13 @@ import SwiftEventBus
dfyEarnAmountLabel.text = totalCouponValueString + "€"
// dfyEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 14)
let totalCouponValueIntCount = String(Int(totalCouponValue)).count
if (totalCouponValueIntCount >= 3) {
dfyEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 11)
} else {
dfyEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 13)
}
if (loyaltyBadge._couponCount == 0) {
couponEarnView.isHidden = true
......@@ -276,6 +283,13 @@ import SwiftEventBus
couponEarnLabel.attributedText = coupAttributedString
couponEarnAmountLabel.text = totalCouponDiscountString + "€"
let totalCouponDiscountIntCount = String(Int(totalCouponDiscount)).count
if (totalCouponDiscountIntCount >= 3) {
couponEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 11)
} else {
couponEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 13)
}
print("Loyalty Badge Value: " + totalCouponDiscountString)
print("Loyalty Badge Count: " + String(loyaltyBadge._couponCount))
......