Manos Chorianopoulos

UnifiedCouponBarcodeViewController ui fixes

...@@ -4958,14 +4958,14 @@ ...@@ -4958,14 +4958,14 @@
4958 <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 4958 <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
4959 <prototypes> 4959 <prototypes>
4960 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponBCHeaderTableViewCell" id="1eX-19-ysb" customClass="UnifiedCouponBCHeaderTableViewCell" customModule="SwiftWarplyFramework"> 4960 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponBCHeaderTableViewCell" id="1eX-19-ysb" customClass="UnifiedCouponBCHeaderTableViewCell" customModule="SwiftWarplyFramework">
4961 - <rect key="frame" x="0.0" y="55.5" width="414" height="813.5"/> 4961 + <rect key="frame" x="0.0" y="55.5" width="414" height="891.5"/>
4962 <autoresizingMask key="autoresizingMask"/> 4962 <autoresizingMask key="autoresizingMask"/>
4963 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="1eX-19-ysb" id="izt-1Z-wey"> 4963 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="1eX-19-ysb" id="izt-1Z-wey">
4964 - <rect key="frame" x="0.0" y="0.0" width="414" height="813.5"/> 4964 + <rect key="frame" x="0.0" y="0.0" width="414" height="891.5"/>
4965 <autoresizingMask key="autoresizingMask"/> 4965 <autoresizingMask key="autoresizingMask"/>
4966 <subviews> 4966 <subviews>
4967 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zYD-ey-wun"> 4967 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zYD-ey-wun">
4968 - <rect key="frame" x="0.0" y="0.0" width="414" height="813.5"/> 4968 + <rect key="frame" x="0.0" y="0.0" width="414" height="891.5"/>
4969 <subviews> 4969 <subviews>
4970 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4Aj-WZ-M9m"> 4970 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4Aj-WZ-M9m">
4971 <rect key="frame" x="0.0" y="0.0" width="414" height="200"/> 4971 <rect key="frame" x="0.0" y="0.0" width="414" height="200"/>
...@@ -4979,14 +4979,33 @@ ...@@ -4979,14 +4979,33 @@
4979 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 4979 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
4980 <nil key="highlightedColor"/> 4980 <nil key="highlightedColor"/>
4981 </label> 4981 </label>
4982 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="euz-9t-maP">
4983 + <rect key="frame" x="122.5" y="281.5" width="169" height="24"/>
4984 + <subviews>
4985 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ισχύει έως 05/10/2024" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="J3J-0b-19e">
4986 + <rect key="frame" x="15" y="4" width="139" height="16"/>
4987 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="13"/>
4988 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
4989 + <nil key="highlightedColor"/>
4990 + </label>
4991 + </subviews>
4992 + <color key="backgroundColor" red="0.72156862749999995" green="0.87843137250000003" blue="0.93725490199999995" alpha="1" colorSpace="calibratedRGB"/>
4993 + <constraints>
4994 + <constraint firstAttribute="trailing" secondItem="J3J-0b-19e" secondAttribute="trailing" constant="15" id="44d-kL-3KM"/>
4995 + <constraint firstItem="J3J-0b-19e" firstAttribute="top" secondItem="euz-9t-maP" secondAttribute="top" constant="4" id="Aty-vA-XPR"/>
4996 + <constraint firstAttribute="height" constant="24" id="JUi-RL-C9j"/>
4997 + <constraint firstItem="J3J-0b-19e" firstAttribute="leading" secondItem="euz-9t-maP" secondAttribute="leading" constant="15" id="eG0-Vc-AzI"/>
4998 + <constraint firstAttribute="bottom" secondItem="J3J-0b-19e" secondAttribute="bottom" constant="4" id="xc2-zr-yKq"/>
4999 + </constraints>
5000 + </view>
4982 <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="7Ha-h1-G5Y"> 5001 <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="7Ha-h1-G5Y">
4983 - <rect key="frame" x="20" y="284.5" width="374" height="39.5"/> 5002 + <rect key="frame" x="20" y="322.5" width="374" height="39.5"/>
4984 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> 5003 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
4985 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 5004 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
4986 <nil key="highlightedColor"/> 5005 <nil key="highlightedColor"/>
4987 </label> 5006 </label>
4988 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="luU-pw-7jY" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework"> 5007 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="luU-pw-7jY" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework">
4989 - <rect key="frame" x="20" y="339" width="374" height="0.0"/> 5008 + <rect key="frame" x="20" y="377" width="374" height="0.0"/>
4990 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 5009 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
4991 <constraints> 5010 <constraints>
4992 <constraint firstAttribute="height" id="39U-OF-0bK"/> 5011 <constraint firstAttribute="height" id="39U-OF-0bK"/>
...@@ -4996,13 +5015,13 @@ ...@@ -4996,13 +5015,13 @@
4996 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> 5015 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
4997 </textView> 5016 </textView>
4998 <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="tPn-a8-bAr"> 5017 <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="tPn-a8-bAr">
4999 - <rect key="frame" x="20" y="374" width="374" height="21"/> 5018 + <rect key="frame" x="20" y="412" width="374" height="21"/>
5000 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/> 5019 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
5001 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 5020 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
5002 <nil key="highlightedColor"/> 5021 <nil key="highlightedColor"/>
5003 </label> 5022 </label>
5004 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="M7m-4Y-3sb" userLabel="Coupon View"> 5023 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="M7m-4Y-3sb" userLabel="Coupon View">
5005 - <rect key="frame" x="20" y="415" width="374" height="55"/> 5024 + <rect key="frame" x="20" y="453" width="374" height="55"/>
5006 <subviews> 5025 <subviews>
5007 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MZf-Ul-AV4" customClass="CopyableLabel" customModule="SwiftWarplyFramework" customModuleProvider="target"> 5026 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MZf-Ul-AV4" customClass="CopyableLabel" customModule="SwiftWarplyFramework" customModuleProvider="target">
5008 <rect key="frame" x="20" y="12.5" width="334" height="30"/> 5027 <rect key="frame" x="20" y="12.5" width="334" height="30"/>
...@@ -5019,21 +5038,30 @@ ...@@ -5019,21 +5038,30 @@
5019 <constraint firstItem="MZf-Ul-AV4" firstAttribute="leading" secondItem="M7m-4Y-3sb" secondAttribute="leading" constant="20" id="jwe-fF-Ccc"/> 5038 <constraint firstItem="MZf-Ul-AV4" firstAttribute="leading" secondItem="M7m-4Y-3sb" secondAttribute="leading" constant="20" id="jwe-fF-Ccc"/>
5020 </constraints> 5039 </constraints>
5021 </view> 5040 </view>
5041 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="barcode κουπονιού" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Hl-xH-YCx">
5042 + <rect key="frame" x="20" y="528" width="374" height="20"/>
5043 + <constraints>
5044 + <constraint firstAttribute="height" constant="20" id="4FR-55-EO2"/>
5045 + </constraints>
5046 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="16"/>
5047 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
5048 + <nil key="highlightedColor"/>
5049 + </label>
5022 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="buX-G2-IsB" userLabel="Border View"> 5050 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="buX-G2-IsB" userLabel="Border View">
5023 - <rect key="frame" x="20" y="490" width="374" height="1"/> 5051 + <rect key="frame" x="20" y="568" width="374" height="1"/>
5024 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> 5052 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/>
5025 <constraints> 5053 <constraints>
5026 <constraint firstAttribute="height" constant="1" id="gkk-5l-4a7"/> 5054 <constraint firstAttribute="height" constant="1" id="gkk-5l-4a7"/>
5027 </constraints> 5055 </constraints>
5028 </view> 5056 </view>
5029 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="9Cx-1R-FqG"> 5057 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="9Cx-1R-FqG">
5030 - <rect key="frame" x="30" y="501" width="354" height="110"/> 5058 + <rect key="frame" x="30" y="579" width="354" height="110"/>
5031 <constraints> 5059 <constraints>
5032 <constraint firstAttribute="height" constant="110" id="mj2-dJ-YJB"/> 5060 <constraint firstAttribute="height" constant="110" id="mj2-dJ-YJB"/>
5033 </constraints> 5061 </constraints>
5034 </imageView> 5062 </imageView>
5035 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123456789101112" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iDt-Pz-bkd"> 5063 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123456789101112" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iDt-Pz-bkd">
5036 - <rect key="frame" x="20" y="621" width="374" height="26.5"/> 5064 + <rect key="frame" x="20" y="699" width="374" height="26.5"/>
5037 <constraints> 5065 <constraints>
5038 <constraint firstAttribute="height" constant="26.5" id="QYZ-L4-ggJ"/> 5066 <constraint firstAttribute="height" constant="26.5" id="QYZ-L4-ggJ"/>
5039 </constraints> 5067 </constraints>
...@@ -5042,14 +5070,14 @@ ...@@ -5042,14 +5070,14 @@
5042 <nil key="highlightedColor"/> 5070 <nil key="highlightedColor"/>
5043 </label> 5071 </label>
5044 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="33M-UT-Ysb" userLabel="Border 2 View"> 5072 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="33M-UT-Ysb" userLabel="Border 2 View">
5045 - <rect key="frame" x="20" y="657.5" width="374" height="1"/> 5073 + <rect key="frame" x="20" y="735.5" width="374" height="1"/>
5046 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> 5074 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/>
5047 <constraints> 5075 <constraints>
5048 <constraint firstAttribute="height" constant="1" id="6LJ-d0-AsC"/> 5076 <constraint firstAttribute="height" constant="1" id="6LJ-d0-AsC"/>
5049 </constraints> 5077 </constraints>
5050 </view> 5078 </view>
5051 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UR2-dr-Wbn"> 5079 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UR2-dr-Wbn">
5052 - <rect key="frame" x="103.5" y="668.5" width="207" height="50"/> 5080 + <rect key="frame" x="103.5" y="746.5" width="207" height="50"/>
5053 <constraints> 5081 <constraints>
5054 <constraint firstAttribute="height" constant="50" id="AMS-Hv-WqS"/> 5082 <constraint firstAttribute="height" constant="50" id="AMS-Hv-WqS"/>
5055 </constraints> 5083 </constraints>
...@@ -5064,13 +5092,16 @@ ...@@ -5064,13 +5092,16 @@
5064 </connections> 5092 </connections>
5065 </button> 5093 </button>
5066 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SPU-J6-4re"> 5094 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SPU-J6-4re">
5067 - <rect key="frame" x="20" y="738.5" width="374" height="20"/> 5095 + <rect key="frame" x="20" y="816.5" width="374" height="20"/>
5096 + <constraints>
5097 + <constraint firstAttribute="height" constant="20" id="xcK-en-E6e"/>
5098 + </constraints>
5068 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> 5099 <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
5069 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> 5100 <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
5070 <nil key="highlightedColor"/> 5101 <nil key="highlightedColor"/>
5071 </label> 5102 </label>
5072 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="52P-0b-ua5"> 5103 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="52P-0b-ua5">
5073 - <rect key="frame" x="113" y="773.5" width="188" height="40"/> 5104 + <rect key="frame" x="113" y="851.5" width="188" height="40"/>
5074 <constraints> 5105 <constraints>
5075 <constraint firstAttribute="height" constant="40" id="W45-Tv-hXa"/> 5106 <constraint firstAttribute="height" constant="40" id="W45-Tv-hXa"/>
5076 </constraints> 5107 </constraints>
...@@ -5093,11 +5124,14 @@ ...@@ -5093,11 +5124,14 @@
5093 <constraint firstItem="9Cx-1R-FqG" firstAttribute="top" secondItem="buX-G2-IsB" secondAttribute="bottom" constant="10" id="5io-Ff-7sM"/> 5124 <constraint firstItem="9Cx-1R-FqG" firstAttribute="top" secondItem="buX-G2-IsB" secondAttribute="bottom" constant="10" id="5io-Ff-7sM"/>
5094 <constraint firstItem="52P-0b-ua5" firstAttribute="top" secondItem="SPU-J6-4re" secondAttribute="bottom" constant="15" id="8b4-N3-C1R"/> 5125 <constraint firstItem="52P-0b-ua5" firstAttribute="top" secondItem="SPU-J6-4re" secondAttribute="bottom" constant="15" id="8b4-N3-C1R"/>
5095 <constraint firstItem="4Aj-WZ-M9m" firstAttribute="top" secondItem="zYD-ey-wun" secondAttribute="top" id="Ayu-ib-gjs"/> 5126 <constraint firstItem="4Aj-WZ-M9m" firstAttribute="top" secondItem="zYD-ey-wun" secondAttribute="top" id="Ayu-ib-gjs"/>
5127 + <constraint firstItem="8Hl-xH-YCx" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="Dt3-OU-AVg"/>
5096 <constraint firstItem="UR2-dr-Wbn" firstAttribute="centerX" secondItem="zYD-ey-wun" secondAttribute="centerX" id="FMI-DW-GAW"/> 5128 <constraint firstItem="UR2-dr-Wbn" firstAttribute="centerX" secondItem="zYD-ey-wun" secondAttribute="centerX" id="FMI-DW-GAW"/>
5097 - <constraint firstItem="buX-G2-IsB" firstAttribute="top" secondItem="M7m-4Y-3sb" secondAttribute="bottom" constant="20" id="Iw4-aA-F5T"/> 5129 + <constraint firstItem="euz-9t-maP" firstAttribute="centerX" secondItem="zYD-ey-wun" secondAttribute="centerX" id="GVm-RY-QOq"/>
5130 + <constraint firstItem="buX-G2-IsB" firstAttribute="top" secondItem="8Hl-xH-YCx" secondAttribute="bottom" constant="20" id="Iw4-aA-F5T"/>
5098 <constraint firstAttribute="trailing" secondItem="7Ha-h1-G5Y" secondAttribute="trailing" constant="20" id="JCb-Z3-NVb"/> 5131 <constraint firstAttribute="trailing" secondItem="7Ha-h1-G5Y" secondAttribute="trailing" constant="20" id="JCb-Z3-NVb"/>
5132 + <constraint firstItem="euz-9t-maP" firstAttribute="top" secondItem="KgC-mB-kHF" secondAttribute="bottom" constant="12" id="Lv0-nE-TqV"/>
5099 <constraint firstItem="33M-UT-Ysb" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="Oe2-NA-u35"/> 5133 <constraint firstItem="33M-UT-Ysb" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="Oe2-NA-u35"/>
5100 - <constraint firstItem="7Ha-h1-G5Y" firstAttribute="top" secondItem="KgC-mB-kHF" secondAttribute="bottom" constant="15" id="OkX-gf-S8Z"/> 5134 + <constraint firstItem="7Ha-h1-G5Y" firstAttribute="top" secondItem="euz-9t-maP" secondAttribute="bottom" constant="17" id="OkX-gf-S8Z"/>
5101 <constraint firstItem="9Cx-1R-FqG" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="30" id="RS0-3d-Ahq"/> 5135 <constraint firstItem="9Cx-1R-FqG" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="30" id="RS0-3d-Ahq"/>
5102 <constraint firstAttribute="trailing" secondItem="luU-pw-7jY" secondAttribute="trailing" constant="20" id="TVb-zK-d3G"/> 5136 <constraint firstAttribute="trailing" secondItem="luU-pw-7jY" secondAttribute="trailing" constant="20" id="TVb-zK-d3G"/>
5103 <constraint firstAttribute="trailing" secondItem="SPU-J6-4re" secondAttribute="trailing" constant="20" id="Trv-gg-FoN"/> 5137 <constraint firstAttribute="trailing" secondItem="SPU-J6-4re" secondAttribute="trailing" constant="20" id="Trv-gg-FoN"/>
...@@ -5115,8 +5149,10 @@ ...@@ -5115,8 +5149,10 @@
5115 <constraint firstItem="M7m-4Y-3sb" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="g5Z-C9-qAx"/> 5149 <constraint firstItem="M7m-4Y-3sb" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="g5Z-C9-qAx"/>
5116 <constraint firstAttribute="trailing" secondItem="4Aj-WZ-M9m" secondAttribute="trailing" id="gLk-cl-axe"/> 5150 <constraint firstAttribute="trailing" secondItem="4Aj-WZ-M9m" secondAttribute="trailing" id="gLk-cl-axe"/>
5117 <constraint firstItem="SPU-J6-4re" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="hCc-Tr-Qp1"/> 5151 <constraint firstItem="SPU-J6-4re" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="hCc-Tr-Qp1"/>
5152 + <constraint firstItem="8Hl-xH-YCx" firstAttribute="top" secondItem="M7m-4Y-3sb" secondAttribute="bottom" constant="20" id="heU-pW-ly9"/>
5118 <constraint firstItem="SPU-J6-4re" firstAttribute="top" secondItem="UR2-dr-Wbn" secondAttribute="bottom" constant="20" id="jHO-Hi-OWu"/> 5153 <constraint firstItem="SPU-J6-4re" firstAttribute="top" secondItem="UR2-dr-Wbn" secondAttribute="bottom" constant="20" id="jHO-Hi-OWu"/>
5119 <constraint firstItem="tPn-a8-bAr" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="jb4-Tg-SNY"/> 5154 <constraint firstItem="tPn-a8-bAr" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="jb4-Tg-SNY"/>
5155 + <constraint firstAttribute="trailing" secondItem="8Hl-xH-YCx" secondAttribute="trailing" constant="20" id="jvH-jF-eaQ"/>
5120 <constraint firstItem="7Ha-h1-G5Y" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="k8g-e4-O7U"/> 5156 <constraint firstItem="7Ha-h1-G5Y" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="k8g-e4-O7U"/>
5121 <constraint firstAttribute="trailing" secondItem="buX-G2-IsB" secondAttribute="trailing" constant="20" id="kST-Yk-neW"/> 5157 <constraint firstAttribute="trailing" secondItem="buX-G2-IsB" secondAttribute="trailing" constant="20" id="kST-Yk-neW"/>
5122 <constraint firstItem="UR2-dr-Wbn" firstAttribute="top" secondItem="33M-UT-Ysb" secondAttribute="bottom" constant="10" id="nN5-wY-oJP"/> 5158 <constraint firstItem="UR2-dr-Wbn" firstAttribute="top" secondItem="33M-UT-Ysb" secondAttribute="bottom" constant="10" id="nN5-wY-oJP"/>
...@@ -5146,6 +5182,7 @@ ...@@ -5146,6 +5182,7 @@
5146 <outlet property="barcodeLabel" destination="iDt-Pz-bkd" id="lwj-xv-Bd6"/> 5182 <outlet property="barcodeLabel" destination="iDt-Pz-bkd" id="lwj-xv-Bd6"/>
5147 <outlet property="barcodeLabelHeight" destination="QYZ-L4-ggJ" id="BBe-OE-z8O"/> 5183 <outlet property="barcodeLabelHeight" destination="QYZ-L4-ggJ" id="BBe-OE-z8O"/>
5148 <outlet property="barcodeLabelTopSpace" destination="pxJ-dc-Duf" id="lun-u9-sCh"/> 5184 <outlet property="barcodeLabelTopSpace" destination="pxJ-dc-Duf" id="lun-u9-sCh"/>
5185 + <outlet property="barcodeTitleLabel" destination="8Hl-xH-YCx" id="XY1-Qy-J87"/>
5149 <outlet property="border1TopSpace" destination="Iw4-aA-F5T" id="O7z-2F-IWN"/> 5186 <outlet property="border1TopSpace" destination="Iw4-aA-F5T" id="O7z-2F-IWN"/>
5150 <outlet property="border2TopSpace" destination="z2q-JF-fHL" id="z8h-Ne-JVG"/> 5187 <outlet property="border2TopSpace" destination="z2q-JF-fHL" id="z8h-Ne-JVG"/>
5151 <outlet property="borderView2Height" destination="6LJ-d0-AsC" id="nsp-Jf-KCE"/> 5188 <outlet property="borderView2Height" destination="6LJ-d0-AsC" id="nsp-Jf-KCE"/>
...@@ -5156,6 +5193,8 @@ ...@@ -5156,6 +5193,8 @@
5156 <outlet property="couponView" destination="M7m-4Y-3sb" id="20v-0s-SfW"/> 5193 <outlet property="couponView" destination="M7m-4Y-3sb" id="20v-0s-SfW"/>
5157 <outlet property="discriptionLabel" destination="7Ha-h1-G5Y" id="oNw-pp-qnj"/> 5194 <outlet property="discriptionLabel" destination="7Ha-h1-G5Y" id="oNw-pp-qnj"/>
5158 <outlet property="expirationLabel" destination="SPU-J6-4re" id="ZIy-s4-3DR"/> 5195 <outlet property="expirationLabel" destination="SPU-J6-4re" id="ZIy-s4-3DR"/>
5196 + <outlet property="expirationLabelHeight" destination="xcK-en-E6e" id="kW8-e6-lOO"/>
5197 + <outlet property="expirationLabelTopSpace" destination="jHO-Hi-OWu" id="Umb-Jg-PF5"/>
5159 <outlet property="merchantDescrTextView" destination="luU-pw-7jY" id="mkD-Hy-1NP"/> 5198 <outlet property="merchantDescrTextView" destination="luU-pw-7jY" id="mkD-Hy-1NP"/>
5160 <outlet property="merchantDescrTextViewHeight" destination="39U-OF-0bK" id="Gbd-EF-Mcs"/> 5199 <outlet property="merchantDescrTextViewHeight" destination="39U-OF-0bK" id="Gbd-EF-Mcs"/>
5161 <outlet property="merchantDescrTextViewTopSpace" destination="ojv-Ev-sPj" id="D23-Yk-943"/> 5200 <outlet property="merchantDescrTextViewTopSpace" destination="ojv-Ev-sPj" id="D23-Yk-943"/>
...@@ -5164,10 +5203,12 @@ ...@@ -5164,10 +5203,12 @@
5164 <outlet property="showBarcodeButtonHeight" destination="AMS-Hv-WqS" id="XWW-LD-FBz"/> 5203 <outlet property="showBarcodeButtonHeight" destination="AMS-Hv-WqS" id="XWW-LD-FBz"/>
5165 <outlet property="showBarcodeButtonTopSpace" destination="nN5-wY-oJP" id="lrD-fJ-0MP"/> 5204 <outlet property="showBarcodeButtonTopSpace" destination="nN5-wY-oJP" id="lrD-fJ-0MP"/>
5166 <outlet property="showCouponsButton" destination="52P-0b-ua5" id="0RA-aj-lED"/> 5205 <outlet property="showCouponsButton" destination="52P-0b-ua5" id="0RA-aj-lED"/>
5206 + <outlet property="topExpirationLabel" destination="J3J-0b-19e" id="cwn-qJ-mzI"/>
5207 + <outlet property="topExpirationView" destination="euz-9t-maP" id="pAw-Kp-msK"/>
5167 </connections> 5208 </connections>
5168 </tableViewCell> 5209 </tableViewCell>
5169 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CouponsTableViewCellId" id="TAK-Ug-AzU" customClass="CouponsTableViewCell" customModule="SwiftWarplyFramework"> 5210 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CouponsTableViewCellId" id="TAK-Ug-AzU" customClass="CouponsTableViewCell" customModule="SwiftWarplyFramework">
5170 - <rect key="frame" x="0.0" y="869" width="414" height="66.5"/> 5211 + <rect key="frame" x="0.0" y="947" width="414" height="66.5"/>
5171 <autoresizingMask key="autoresizingMask"/> 5212 <autoresizingMask key="autoresizingMask"/>
5172 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TAK-Ug-AzU" id="LFe-Vj-kjJ"> 5213 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TAK-Ug-AzU" id="LFe-Vj-kjJ">
5173 <rect key="frame" x="0.0" y="0.0" width="414" height="66.5"/> 5214 <rect key="frame" x="0.0" y="0.0" width="414" height="66.5"/>
...@@ -5302,19 +5343,20 @@ ...@@ -5302,19 +5343,20 @@
5302 </connections> 5343 </connections>
5303 </tableViewCell> 5344 </tableViewCell>
5304 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponBCFooterTableViewCell" id="LD5-ES-J67" customClass="UnifiedCouponBCFooterTableViewCell" customModule="SwiftWarplyFramework"> 5345 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponBCFooterTableViewCell" id="LD5-ES-J67" customClass="UnifiedCouponBCFooterTableViewCell" customModule="SwiftWarplyFramework">
5305 - <rect key="frame" x="0.0" y="935.5" width="414" height="44"/> 5346 + <rect key="frame" x="0.0" y="1013.5" width="414" height="220"/>
5306 <autoresizingMask key="autoresizingMask"/> 5347 <autoresizingMask key="autoresizingMask"/>
5307 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="LD5-ES-J67" id="DmN-AA-8n5"> 5348 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="LD5-ES-J67" id="DmN-AA-8n5">
5308 - <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> 5349 + <rect key="frame" x="0.0" y="0.0" width="414" height="220"/>
5309 <autoresizingMask key="autoresizingMask"/> 5350 <autoresizingMask key="autoresizingMask"/>
5310 <subviews> 5351 <subviews>
5311 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L4W-1e-9fQ"> 5352 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L4W-1e-9fQ">
5312 - <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> 5353 + <rect key="frame" x="0.0" y="0.0" width="414" height="220"/>
5313 <subviews> 5354 <subviews>
5314 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Kdi-w7-eKZ"> 5355 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Kdi-w7-eKZ">
5315 - <rect key="frame" x="123.5" y="20" width="167" height="33"/> 5356 + <rect key="frame" x="77" y="20" width="260" height="50"/>
5316 <constraints> 5357 <constraints>
5317 <constraint firstAttribute="height" constant="50" id="SUG-HC-XQH"/> 5358 <constraint firstAttribute="height" constant="50" id="SUG-HC-XQH"/>
5359 + <constraint firstAttribute="width" constant="260" id="WTS-Qk-0M1"/>
5318 </constraints> 5360 </constraints>
5319 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/> 5361 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
5320 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> 5362 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
...@@ -5326,9 +5368,10 @@ ...@@ -5326,9 +5368,10 @@
5326 </connections> 5368 </connections>
5327 </button> 5369 </button>
5328 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BrE-JO-TPr"> 5370 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BrE-JO-TPr">
5329 - <rect key="frame" x="91" y="63" width="232" height="33"/> 5371 + <rect key="frame" x="77" y="80" width="260" height="50"/>
5330 <constraints> 5372 <constraints>
5331 <constraint firstAttribute="height" constant="50" id="NrC-VW-t5Y"/> 5373 <constraint firstAttribute="height" constant="50" id="NrC-VW-t5Y"/>
5374 + <constraint firstAttribute="width" constant="260" id="lZv-96-aOE"/>
5332 </constraints> 5375 </constraints>
5333 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/> 5376 <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
5334 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> 5377 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
...@@ -5340,7 +5383,7 @@ ...@@ -5340,7 +5383,7 @@
5340 </connections> 5383 </connections>
5341 </button> 5384 </button>
5342 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Sq7-ea-Nx2"> 5385 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Sq7-ea-Nx2">
5343 - <rect key="frame" x="103.5" y="-10" width="207" height="24"/> 5386 + <rect key="frame" x="103.5" y="150" width="207" height="40"/>
5344 <constraints> 5387 <constraints>
5345 <constraint firstAttribute="height" constant="40" id="UgG-aB-OOw"/> 5388 <constraint firstAttribute="height" constant="40" id="UgG-aB-OOw"/>
5346 </constraints> 5389 </constraints>
...@@ -5355,7 +5398,7 @@ ...@@ -5355,7 +5398,7 @@
5355 </connections> 5398 </connections>
5356 </button> 5399 </button>
5357 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kkr-9H-ZSx" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework"> 5400 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kkr-9H-ZSx" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework">
5358 - <rect key="frame" x="20" y="14" width="374" height="0.0"/> 5401 + <rect key="frame" x="20" y="190" width="374" height="0.0"/>
5359 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 5402 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
5360 <constraints> 5403 <constraints>
5361 <constraint firstAttribute="height" id="oLt-F6-WA7"/> 5404 <constraint firstAttribute="height" id="oLt-F6-WA7"/>
......
...@@ -25,20 +25,22 @@ import AVFoundation ...@@ -25,20 +25,22 @@ import AVFoundation
25 25
26 termsTextView.delegate = self 26 termsTextView.delegate = self
27 27
28 - mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) 28 + mapButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17)
29 mapButton.setTitle("Δες τα supermarket", for: .normal) 29 mapButton.setTitle("Δες τα supermarket", for: .normal)
30 mapButton.setTitleColor(UIColor(red: 1.00, green: 1.00, blue: 1.00, alpha: 1.00), for: .normal) 30 mapButton.setTitleColor(UIColor(red: 1.00, green: 1.00, blue: 1.00, alpha: 1.00), for: .normal)
31 mapButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) 31 mapButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00)
32 mapButton.layer.cornerRadius = 15.0 32 mapButton.layer.cornerRadius = 15.0
33 - mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 50) 33 + mapButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55)
34 - mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) 34 +// mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 50)
35 +// mapButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25)
35 36
36 cancelButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17) 37 cancelButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17)
37 - cancelButton.setTitle("Ακύρωση ενιαίου κουπονιού", for: .normal) 38 + cancelButton.setTitle("Ακυρωση κουπονιού", for: .normal) // Ακύρωση ενιαίου κουπονιού
38 cancelButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal) 39 cancelButton.setTitleColor(UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00), for: .normal)
39 cancelButton.layer.cornerRadius = 15.0 40 cancelButton.layer.cornerRadius = 15.0
40 - cancelButton.frame = CGRect(x: 0.0, y: 0.0, width: cancelButton.intrinsicContentSize.width, height: 50) 41 + cancelButton.frame = CGRect(x: 0.0, y: 0.0, width: 260, height: 55)
41 - cancelButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25) 42 +// cancelButton.frame = CGRect(x: 0.0, y: 0.0, width: cancelButton.intrinsicContentSize.width, height: 50)
43 +// cancelButton.contentEdgeInsets = UIEdgeInsets(top: 0, left: 25, bottom: 0, right: 25)
42 cancelButton.backgroundColor = .clear 44 cancelButton.backgroundColor = .clear
43 cancelButton.layer.borderWidth = 2 45 cancelButton.layer.borderWidth = 2
44 cancelButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor 46 cancelButton.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
......
...@@ -26,6 +26,8 @@ import AVFoundation ...@@ -26,6 +26,8 @@ import AVFoundation
26 @IBOutlet weak var barcodeLabelHeight: NSLayoutConstraint! 26 @IBOutlet weak var barcodeLabelHeight: NSLayoutConstraint!
27 @IBOutlet weak var showBarcodeButton: UIButton! 27 @IBOutlet weak var showBarcodeButton: UIButton!
28 @IBOutlet weak var expirationLabel: UILabel! 28 @IBOutlet weak var expirationLabel: UILabel!
29 + @IBOutlet weak var expirationLabelHeight: NSLayoutConstraint!
30 + @IBOutlet weak var expirationLabelTopSpace: NSLayoutConstraint!
29 @IBOutlet weak var borderViewHeight: NSLayoutConstraint! 31 @IBOutlet weak var borderViewHeight: NSLayoutConstraint!
30 @IBOutlet weak var borderView2Height: NSLayoutConstraint! 32 @IBOutlet weak var borderView2Height: NSLayoutConstraint!
31 @IBOutlet weak var border1TopSpace: NSLayoutConstraint! 33 @IBOutlet weak var border1TopSpace: NSLayoutConstraint!
...@@ -35,6 +37,9 @@ import AVFoundation ...@@ -35,6 +37,9 @@ import AVFoundation
35 @IBOutlet weak var showBarcodeButtonHeight: NSLayoutConstraint! 37 @IBOutlet weak var showBarcodeButtonHeight: NSLayoutConstraint!
36 @IBOutlet weak var showBarcodeButtonTopSpace: NSLayoutConstraint! 38 @IBOutlet weak var showBarcodeButtonTopSpace: NSLayoutConstraint!
37 @IBOutlet weak var showCouponsButton: UIButton! 39 @IBOutlet weak var showCouponsButton: UIButton!
40 + @IBOutlet weak var topExpirationView: UIView!
41 + @IBOutlet weak var topExpirationLabel: UILabel!
42 + @IBOutlet weak var barcodeTitleLabel: UILabel!
38 43
39 let uiscreen: CGRect = UIScreen.main.bounds 44 let uiscreen: CGRect = UIScreen.main.bounds
40 45
...@@ -55,6 +60,23 @@ import AVFoundation ...@@ -55,6 +60,23 @@ import AVFoundation
55 couponImageHeight.constant = 222 // 255 //230 // 253 // self.uiscreen.height * 0.25 60 couponImageHeight.constant = 222 // 255 //230 // 253 // self.uiscreen.height * 0.25
56 61
57 nameLabel.text = "Εκπτωτικό κουπόνι COSMOTE SUPERMARKET DEALS!" 62 nameLabel.text = "Εκπτωτικό κουπόνι COSMOTE SUPERMARKET DEALS!"
63 +
64 + topExpirationView.backgroundColor = UIColor(rgb: 0xB8E0EF)
65 + topExpirationView.layer.cornerRadius = 13.0
66 +
67 + topExpirationLabel.font = UIFont(name: "PeridotPE-Bold", size: 13)
68 + topExpirationLabel.textColor = UIColor(rgb: 0x004B87)
69 +
70 + // Hide bottom expirationLabel ==>
71 + expirationLabel.isHidden = true
72 + expirationLabelHeight.constant = CGFloat(0)
73 + expirationLabelTopSpace.constant = CGFloat(0)
74 + // ===
75 +
76 + barcodeTitleLabel.text = "barcode κουπονιού"
77 + barcodeTitleLabel.font = UIFont(name: "PeridotPE-Bold", size: 16)
78 + barcodeTitleLabel.textColor = UIColor(rgb: 0x212121)
79 +
58 discriptionLabel.text = "Χρησιμοποίησε τον παρακάτω κωδικό και πάρε έκπτωση στα ενεργά κουπόνια προσφορών." 80 discriptionLabel.text = "Χρησιμοποίησε τον παρακάτω κωδικό και πάρε έκπτωση στα ενεργά κουπόνια προσφορών."
59 81
60 merchantDescrTextView.text = "" 82 merchantDescrTextView.text = ""
...@@ -199,8 +221,11 @@ import AVFoundation ...@@ -199,8 +221,11 @@ import AVFoundation
199 // if let earliestExpiration = coupon?._coupons.min(by: { ($0.expiration ?? "") < ($1.expiration ?? "") }) { 221 // if let earliestExpiration = coupon?._coupons.min(by: { ($0.expiration ?? "") < ($1.expiration ?? "") }) {
200 if let latestExpiration = coupon?._coupons.max(by: { ($0.expiration ?? "") < ($1.expiration ?? "") }) { 222 if let latestExpiration = coupon?._coupons.max(by: { ($0.expiration ?? "") < ($1.expiration ?? "") }) {
201 expirationLabel.text = "Το κουπόνι ισχύει έως " + (latestExpiration.expiration ?? "") 223 expirationLabel.text = "Το κουπόνι ισχύει έως " + (latestExpiration.expiration ?? "")
224 + topExpirationLabel.text = "Ισχύει έως " + (latestExpiration.expiration ?? "")
225 + topExpirationLabel.frame.size.width = topExpirationLabel.intrinsicContentSize.width
202 } else { 226 } else {
203 expirationLabel.text = "" 227 expirationLabel.text = ""
228 + topExpirationLabel.text = ""
204 } 229 }
205 230
206 toggleCoupons(couponsVisible: couponsVisible) 231 toggleCoupons(couponsVisible: couponsVisible)
......