Manos Chorianopoulos

Wallet redesign changes

......@@ -3368,15 +3368,71 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletActiveCouponsTableViewCellId" id="qaY-Zw-d8E" customClass="WalletActiveCouponsTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="948.5" width="414" height="103"/>
<rect key="frame" x="0.0" y="948.5" width="414" height="175"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qaY-Zw-d8E" id="MoF-lG-k6u">
<rect key="frame" x="0.0" y="0.0" width="414" height="103"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="175"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="t2C-9l-nWs" userLabel="ParentView">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gO0-Pa-kWS" userLabel="SectionHeaderView">
<rect key="frame" x="20" y="0.0" width="374" height="0.0"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κουπόνια" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IXl-Ba-HgN">
<rect key="frame" x="0.0" y="25" width="330" height="0.0"/>
<fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="19"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="P3a-gV-vNS">
<rect key="frame" x="330" y="0.0" width="44" height="0.0"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="XbI-ey-mgh">
<rect key="frame" x="10" y="-12" width="24" height="24"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="24" id="c60-7W-8Dq"/>
<constraint firstAttribute="width" constant="24" id="lso-Fs-WSe"/>
</constraints>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YMc-Qb-txy">
<rect key="frame" x="0.0" y="0.0" width="44" height="0.0"/>
<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="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
<state key="normal" title="Button">
<color key="titleColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<action selector="historyButtonAction:" destination="pKQ-52-a1r" eventType="touchUpInside" id="2px-ZM-YHR"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="XbI-ey-mgh" firstAttribute="centerY" secondItem="P3a-gV-vNS" secondAttribute="centerY" id="2tl-Fg-2nj"/>
<constraint firstItem="YMc-Qb-txy" firstAttribute="top" secondItem="P3a-gV-vNS" secondAttribute="top" id="6hy-YM-NSe"/>
<constraint firstItem="YMc-Qb-txy" firstAttribute="leading" secondItem="P3a-gV-vNS" secondAttribute="leading" id="8pR-JN-fjf"/>
<constraint firstAttribute="trailing" secondItem="YMc-Qb-txy" secondAttribute="trailing" id="HoG-j5-iZH"/>
<constraint firstAttribute="bottom" secondItem="YMc-Qb-txy" secondAttribute="bottom" id="ZNo-rt-yAX"/>
<constraint firstItem="XbI-ey-mgh" firstAttribute="leading" secondItem="P3a-gV-vNS" secondAttribute="leading" constant="10" id="p2w-3D-9AC"/>
<constraint firstAttribute="trailing" secondItem="XbI-ey-mgh" secondAttribute="trailing" constant="10" id="xxh-q5-Bog"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="P3a-gV-vNS" firstAttribute="top" secondItem="gO0-Pa-kWS" secondAttribute="top" id="JTJ-8p-I0c"/>
<constraint firstAttribute="bottom" secondItem="P3a-gV-vNS" secondAttribute="bottom" id="Pe0-Hf-DHg"/>
<constraint firstItem="P3a-gV-vNS" firstAttribute="leading" secondItem="IXl-Ba-HgN" secondAttribute="trailing" id="eZy-dP-0g7"/>
<constraint firstAttribute="bottom" secondItem="IXl-Ba-HgN" secondAttribute="bottom" constant="25" id="kYf-kX-sEz"/>
<constraint firstItem="IXl-Ba-HgN" firstAttribute="top" secondItem="gO0-Pa-kWS" secondAttribute="top" constant="25" id="mDJ-pl-bbB"/>
<constraint firstItem="IXl-Ba-HgN" firstAttribute="leading" secondItem="gO0-Pa-kWS" secondAttribute="leading" id="mYS-4d-RkY"/>
<constraint firstAttribute="trailing" secondItem="P3a-gV-vNS" secondAttribute="trailing" id="ydM-MC-abC"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ago-Pf-BGo">
<rect key="frame" x="20" y="3" width="111.5" height="38"/>
<subviews>
......@@ -3608,17 +3664,20 @@
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="gO0-Pa-kWS" secondAttribute="trailing" constant="20" id="2z1-Bc-QDh"/>
<constraint firstAttribute="bottom" secondItem="gZG-f4-H22" secondAttribute="bottom" constant="3" id="AhC-oY-oF3"/>
<constraint firstAttribute="trailing" secondItem="hW7-Fh-jaW" secondAttribute="trailing" constant="20" id="E3i-Y4-mVj"/>
<constraint firstItem="gZG-f4-H22" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="KPV-Rj-PJv"/>
<constraint firstItem="gZG-f4-H22" firstAttribute="top" secondItem="gO0-Pa-kWS" secondAttribute="bottom" constant="3" id="KPV-Rj-PJv"/>
<constraint firstAttribute="bottom" secondItem="Ago-Pf-BGo" secondAttribute="bottom" constant="3" id="KhN-mk-jlA"/>
<constraint firstItem="gZG-f4-H22" firstAttribute="width" secondItem="Ago-Pf-BGo" secondAttribute="width" id="PUN-Vu-fVw"/>
<constraint firstItem="Ago-Pf-BGo" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="UAL-d1-YPB"/>
<constraint firstItem="gO0-Pa-kWS" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" id="T9h-2A-Mlu"/>
<constraint firstItem="Ago-Pf-BGo" firstAttribute="top" secondItem="gO0-Pa-kWS" secondAttribute="bottom" constant="3" id="UAL-d1-YPB"/>
<constraint firstItem="hW7-Fh-jaW" firstAttribute="width" secondItem="Ago-Pf-BGo" secondAttribute="width" id="Yfd-mp-doF"/>
<constraint firstItem="gZG-f4-H22" firstAttribute="leading" secondItem="Ago-Pf-BGo" secondAttribute="trailing" constant="20" id="cri-7i-oKr"/>
<constraint firstItem="gO0-Pa-kWS" firstAttribute="leading" secondItem="t2C-9l-nWs" secondAttribute="leading" constant="20" id="diF-4g-TLY"/>
<constraint firstItem="hW7-Fh-jaW" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="trailing" constant="20" id="mPD-Yj-gS9"/>
<constraint firstItem="Ago-Pf-BGo" firstAttribute="leading" secondItem="t2C-9l-nWs" secondAttribute="leading" constant="20" id="nWu-UL-F5g"/>
<constraint firstItem="hW7-Fh-jaW" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="nlA-fB-mNW"/>
<constraint firstItem="hW7-Fh-jaW" firstAttribute="top" secondItem="gO0-Pa-kWS" secondAttribute="bottom" constant="3" id="nlA-fB-mNW"/>
<constraint firstAttribute="bottom" secondItem="hW7-Fh-jaW" secondAttribute="bottom" constant="3" id="tip-cx-cM6"/>
</constraints>
</view>
......@@ -3643,6 +3702,8 @@
<outlet property="gfyImage" destination="JSL-ST-Uzv" id="i2n-1U-2Sp"/>
<outlet property="gfyLabel" destination="QVo-4f-20j" id="0yc-bx-aFb"/>
<outlet property="gfyView" destination="hW7-Fh-jaW" id="APi-eV-QZx"/>
<outlet property="historyButtonImage" destination="XbI-ey-mgh" id="Iwb-qD-yGJ"/>
<outlet property="sectionTitleLabel" destination="IXl-Ba-HgN" id="NZo-DB-Kof"/>
<outlet property="smCountLabel" destination="STg-je-8uL" id="KVj-g4-r9B"/>
<outlet property="smCountView" destination="5lx-Id-hmz" id="6eQ-pm-3Kl"/>
<outlet property="smImage" destination="qYJ-x0-9v3" id="Vhd-QA-uss"/>
......@@ -3651,7 +3712,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletVouchersBannerTableViewCellId" id="F1i-u5-1v2" customClass="WalletVouchersBannerTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="1051.5" width="414" height="141"/>
<rect key="frame" x="0.0" y="1123.5" width="414" height="141"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="F1i-u5-1v2" id="q9T-Eg-Gxw">
<rect key="frame" x="0.0" y="0.0" width="414" height="141"/>
......@@ -3673,24 +3734,24 @@
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eBr-vb-7oH">
<rect key="frame" x="20" y="41" width="374" height="0.0"/>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eBr-vb-7oH">
<rect key="frame" x="20" y="72" width="374" height="66"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="U9f-Ar-TCE">
<rect key="frame" x="20" y="18" width="30" height="0.0"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="U9f-Ar-TCE">
<rect key="frame" x="20" y="18" width="30" height="30"/>
<constraints>
<constraint firstAttribute="width" constant="30" id="06g-Cm-Q4z"/>
<constraint firstAttribute="height" constant="30" id="GoZ-qT-Whp"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2p1-v2-lAL">
<rect key="frame" x="60" y="8" width="164" height="20"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2p1-v2-lAL">
<rect key="frame" x="60" y="23" width="164" height="20"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AKD-A9-ah0">
<rect key="frame" x="224" y="-1" width="17.5" height="18"/>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AKD-A9-ah0">
<rect key="frame" x="224" y="14" width="17.5" height="18"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BwW-J2-1Sz">
<rect key="frame" x="5" y="2" width="7.5" height="14"/>
......@@ -3707,8 +3768,8 @@
<constraint firstAttribute="trailing" secondItem="BwW-J2-1Sz" secondAttribute="trailing" constant="5" id="ncp-fn-LRV"/>
</constraints>
</view>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cSu-mM-1Ep">
<rect key="frame" x="337" y="9.5" width="17" height="17"/>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="cSu-mM-1Ep">
<rect key="frame" x="337" y="24.5" width="17" height="17"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="ATK-3R-8Yb"/>
<constraint firstAttribute="width" constant="17" id="b27-KV-iS5"/>
......@@ -3770,7 +3831,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletSpinnerTableViewCellId" id="ShU-xo-DhW" customClass="WalletSpinnerTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="1192.5" width="414" height="44"/>
<rect key="frame" x="0.0" y="1264.5" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ShU-xo-DhW" id="U4r-xF-gbA">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
......@@ -3810,7 +3871,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletQuestionnaireBannerTableViewCellId" id="AKr-2x-5Nd" customClass="WalletQuestionnaireBannerTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="1236.5" width="414" height="44"/>
<rect key="frame" x="0.0" y="1308.5" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="AKr-2x-5Nd" id="nPE-tM-hVS">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
......@@ -3820,48 +3881,67 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="E7g-cu-Vdm">
<rect key="frame" x="20" y="25" width="374" height="16"/>
<rect key="frame" x="20" y="25" width="219.5" height="16"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oc6-bU-uFZ">
<rect key="frame" x="20" y="15" width="22" height="22"/>
<rect key="frame" x="10" y="9" width="16" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="22" id="L87-hG-Qde"/>
<constraint firstAttribute="width" constant="22" id="M66-dc-yeT"/>
<constraint firstAttribute="height" constant="16" id="L87-hG-Qde"/>
<constraint firstAttribute="width" constant="16" id="M66-dc-yeT"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Πρόσθεσε τις προτιμήσεις σου" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="amg-yf-Roz">
<rect key="frame" x="52" y="16" width="232.5" height="20"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<rect key="frame" x="31" y="9.5" width="178.5" height="15"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="12"/>
<color key="textColor" red="0.054901960784313725" green="0.65098039215686276" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="zkX-BT-YZD">
<rect key="frame" x="337" y="17.5" width="17" height="17"/>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="17" id="Ci4-Wq-tP6"/>
<constraint firstAttribute="height" constant="17" id="n1G-m9-43s"/>
<constraint firstAttribute="bottom" secondItem="oc6-bU-uFZ" secondAttribute="bottom" constant="9" id="8CL-ej-RPl"/>
<constraint firstItem="amg-yf-Roz" firstAttribute="leading" secondItem="oc6-bU-uFZ" secondAttribute="trailing" constant="5" id="GV4-Ut-oeg"/>
<constraint firstItem="oc6-bU-uFZ" firstAttribute="leading" secondItem="E7g-cu-Vdm" secondAttribute="leading" constant="10" id="Qrh-op-XQ7"/>
<constraint firstAttribute="trailing" secondItem="amg-yf-Roz" secondAttribute="trailing" constant="10" id="hNg-p6-wWU"/>
<constraint firstItem="oc6-bU-uFZ" firstAttribute="top" secondItem="E7g-cu-Vdm" secondAttribute="top" constant="9" id="k50-It-dgE"/>
<constraint firstItem="amg-yf-Roz" firstAttribute="centerY" secondItem="oc6-bU-uFZ" secondAttribute="centerY" id="usW-Tc-Jrq"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qqD-pZ-7xE">
<rect key="frame" x="97.5" y="25" width="219.5" height="34"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="lpg-iG-nja">
<rect key="frame" x="10" y="9" width="16" height="16"/>
<constraints>
<constraint firstAttribute="width" constant="16" id="DJe-6d-EcH"/>
<constraint firstAttribute="height" constant="16" id="VeL-rx-iZU"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Πρόσθεσε τις προτιμήσεις σου" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5Gg-1H-Jac">
<rect key="frame" x="31" y="9.5" width="178.5" height="15"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="12"/>
<color key="textColor" red="0.054901960780000002" green="0.65098039220000004" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="oc6-bU-uFZ" secondAttribute="bottom" constant="15" id="8CL-ej-RPl"/>
<constraint firstItem="amg-yf-Roz" firstAttribute="leading" secondItem="oc6-bU-uFZ" secondAttribute="trailing" constant="10" id="GV4-Ut-oeg"/>
<constraint firstItem="zkX-BT-YZD" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="amg-yf-Roz" secondAttribute="trailing" constant="5" id="PCZ-Aq-M5f"/>
<constraint firstItem="oc6-bU-uFZ" firstAttribute="leading" secondItem="E7g-cu-Vdm" secondAttribute="leading" constant="20" id="Qrh-op-XQ7"/>
<constraint firstAttribute="trailing" secondItem="zkX-BT-YZD" secondAttribute="trailing" constant="20" id="R42-ol-mfw"/>
<constraint firstItem="oc6-bU-uFZ" firstAttribute="top" secondItem="E7g-cu-Vdm" secondAttribute="top" constant="15" id="k50-It-dgE"/>
<constraint firstItem="zkX-BT-YZD" firstAttribute="centerY" secondItem="oc6-bU-uFZ" secondAttribute="centerY" id="tqT-Gi-oTZ"/>
<constraint firstItem="amg-yf-Roz" firstAttribute="centerY" secondItem="oc6-bU-uFZ" secondAttribute="centerY" id="usW-Tc-Jrq"/>
<constraint firstItem="5Gg-1H-Jac" firstAttribute="centerY" secondItem="lpg-iG-nja" secondAttribute="centerY" id="HcW-5f-w1a"/>
<constraint firstItem="lpg-iG-nja" firstAttribute="top" secondItem="qqD-pZ-7xE" secondAttribute="top" constant="9" id="bLc-Tb-Tcx"/>
<constraint firstAttribute="bottom" secondItem="lpg-iG-nja" secondAttribute="bottom" constant="9" id="nml-Gc-UZh"/>
<constraint firstItem="lpg-iG-nja" firstAttribute="leading" secondItem="qqD-pZ-7xE" secondAttribute="leading" constant="10" id="pf7-jV-pCN"/>
<constraint firstAttribute="trailing" secondItem="5Gg-1H-Jac" secondAttribute="trailing" constant="10" id="qaS-o5-wrU"/>
<constraint firstItem="5Gg-1H-Jac" firstAttribute="leading" secondItem="lpg-iG-nja" secondAttribute="trailing" constant="5" id="t7a-Hc-EU8"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="E7g-cu-Vdm" secondAttribute="bottom" constant="3" id="EQZ-DQ-as6"/>
<constraint firstItem="qqD-pZ-7xE" firstAttribute="centerX" secondItem="Z9L-1Z-TVa" secondAttribute="centerX" id="UpQ-w6-DrQ"/>
<constraint firstItem="E7g-cu-Vdm" firstAttribute="top" secondItem="Z9L-1Z-TVa" secondAttribute="top" constant="25" id="qCl-fH-vaA"/>
<constraint firstItem="E7g-cu-Vdm" firstAttribute="leading" secondItem="Z9L-1Z-TVa" secondAttribute="leading" constant="20" id="uR9-FM-TUb"/>
<constraint firstAttribute="trailing" secondItem="E7g-cu-Vdm" secondAttribute="trailing" constant="20" id="vqE-fh-d8w"/>
<constraint firstItem="qqD-pZ-7xE" firstAttribute="top" secondItem="Z9L-1Z-TVa" secondAttribute="top" constant="25" id="wFv-rl-GFD"/>
<constraint firstItem="E7g-cu-Vdm" firstAttribute="leading" secondItem="Z9L-1Z-TVa" secondAttribute="leading" constant="20" id="xaH-Wb-S9D"/>
</constraints>
</view>
</subviews>
......@@ -3874,7 +3954,11 @@
</tableViewCellContentView>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<outlet property="bannerArrowImage" destination="zkX-BT-YZD" id="rgd-Fs-qK7"/>
<outlet property="bannerCenteredIconImage" destination="lpg-iG-nja" id="rvG-xf-Obh"/>
<outlet property="bannerCenteredIconImageWidth" destination="DJe-6d-EcH" id="UPm-gW-iLs"/>
<outlet property="bannerCenteredLabel" destination="5Gg-1H-Jac" id="bZu-U3-NoI"/>
<outlet property="bannerCenteredLabelLeftSpace" destination="t7a-Hc-EU8" id="sEi-c9-PEl"/>
<outlet property="bannerCenteredView" destination="qqD-pZ-7xE" id="WzC-jB-JIN"/>
<outlet property="bannerIconImage" destination="oc6-bU-uFZ" id="VXs-UF-Rbf"/>
<outlet property="bannerIconImageWidth" destination="M66-dc-yeT" id="joM-kr-chb"/>
<outlet property="bannerLabel" destination="amg-yf-Roz" id="V6f-Nt-7IG"/>
......@@ -3883,7 +3967,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletHistoryBannerTableViewCellId" id="DQm-p5-XtS" customClass="WalletHistoryBannerTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="1280.5" width="414" height="60"/>
<rect key="frame" x="0.0" y="1352.5" width="414" height="60"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="DQm-p5-XtS" id="bjo-yS-hIR">
<rect key="frame" x="0.0" y="0.0" width="414" height="60"/>
......@@ -3954,7 +4038,7 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletEmptyViewTableViewCellId" id="lSc-gs-vcx" customClass="WalletEmptyViewTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="1340.5" width="414" height="44"/>
<rect key="frame" x="0.0" y="1412.5" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="lSc-gs-vcx" id="AOI-dP-A0r">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
......
......@@ -8,6 +8,9 @@
import UIKit
@objc public class WalletActiveCouponsTableViewCell: UITableViewCell {
@IBOutlet weak var sectionTitleLabel: UILabel!
@IBOutlet weak var historyButtonImage: UIImageView!
@IBOutlet weak var dfyViewParent: UIView!
@IBOutlet weak var dfyView: UIView!
@IBOutlet weak var dfyImage: UIImageView!
......@@ -32,6 +35,12 @@ import UIKit
super.awakeFromNib()
// Initialization code
// Section Header
sectionTitleLabel.text = "Κουπόνια"
historyButtonImage.image = UIImage(named: "wallet_history_blue", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
historyButtonImage.image = historyButtonImage.image?.withRenderingMode(.alwaysTemplate)
historyButtonImage.tintColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00)
// DFY Banner
// dfyViewParent.backgroundColor = UIColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.00)
dfyViewParent.backgroundColor = .white
......
......@@ -13,24 +13,39 @@ import UIKit
@IBOutlet weak var bannerIconImageWidth: NSLayoutConstraint!
@IBOutlet weak var bannerLabel: UILabel!
@IBOutlet weak var bannerLabelLeftSpace: NSLayoutConstraint!
@IBOutlet weak var bannerArrowImage: UIImageView!
// @IBOutlet weak var bannerArrowImage: UIImageView!
@IBOutlet weak var bannerCenteredView: UIView!
@IBOutlet weak var bannerCenteredIconImage: UIImageView!
@IBOutlet weak var bannerCenteredIconImageWidth: NSLayoutConstraint!
@IBOutlet weak var bannerCenteredLabel: UILabel!
@IBOutlet weak var bannerCenteredLabelLeftSpace: NSLayoutConstraint!
public override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
bannerView.layer.cornerRadius = 16.0
bannerView.layer.cornerRadius = 12.0
bannerView.layer.borderWidth = 1
bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
bannerView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
// bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
bannerCenteredView.layer.cornerRadius = 12.0
bannerCenteredView.layer.borderWidth = 1
bannerCenteredView.layer.borderColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00).cgColor
// Add shadow
bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
bannerView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0)
bannerView.layer.shadowOpacity = 1.0
bannerView.layer.shadowRadius = 1.0
// bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
// bannerView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0)
// bannerView.layer.shadowOpacity = 1.0
// bannerView.layer.shadowRadius = 1.0
bannerIconImage.image = UIImage(named: "wallet_plus", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerCenteredIconImage.image = UIImage(named: "wallet_plus", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
// bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerIconImage.image = UIImage(named: "wallet_plus_blue", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
bannerLabel.font = UIFont(name: "PeridotPE-Bold", size: 12)
bannerCenteredLabel.font = UIFont(name: "PeridotPE-Bold", size: 12)
}
public override func setSelected(_ selected: Bool, animated: Bool) {
......@@ -39,7 +54,7 @@ import UIKit
// Configure the view for the selected state
}
func configureCell() {
func configureCell(isCentered: Bool) {
let userTag = swiftApi().getUserTag()
// print("User tag: " + userTag)
if (userTag != "" && userTag != "undefined") {
......@@ -48,13 +63,39 @@ import UIKit
bannerIconImage.isHidden = true
bannerIconImageWidth.constant = CGFloat(0.0)
bannerLabelLeftSpace.constant = CGFloat(0.0)
bannerView.frame.size.width = bannerView.intrinsicContentSize.width
bannerCenteredLabel.text = userTag
bannerCenteredLabel.frame.size.width = bannerCenteredLabel.intrinsicContentSize.width
bannerCenteredIconImage.isHidden = true
bannerCenteredIconImageWidth.constant = CGFloat(0.0)
bannerCenteredLabelLeftSpace.constant = CGFloat(0.0)
bannerCenteredView.frame.size.width = bannerLabel.intrinsicContentSize.width
} else {
bannerLabel.text = "Πρόσθεσε τις προτιμήσεις σου"
bannerLabel.frame.size.width = bannerLabel.intrinsicContentSize.width
bannerIconImage.isHidden = false
bannerIconImageWidth.constant = CGFloat(22.0)
bannerLabelLeftSpace.constant = CGFloat(10.0)
bannerIconImageWidth.constant = CGFloat(16.0)
bannerLabelLeftSpace.constant = CGFloat(5.0)
bannerView.frame.size.width = bannerView.intrinsicContentSize.width
bannerCenteredLabel.text = "Πρόσθεσε τις προτιμήσεις σου"
bannerCenteredLabel.frame.size.width = bannerCenteredLabel.intrinsicContentSize.width
bannerCenteredIconImage.isHidden = false
bannerCenteredIconImageWidth.constant = CGFloat(16.0)
bannerCenteredLabelLeftSpace.constant = CGFloat(5.0)
bannerCenteredView.frame.size.width = bannerCenteredView.intrinsicContentSize.width
}
if (isCentered) {
bannerView.isHidden = true
bannerCenteredView.isHidden = false
} else {
bannerView.isHidden = false
bannerCenteredView.isHidden = true
}
}
......
......@@ -767,7 +767,13 @@ import SwiftEventBus
// TODO: UNCOMMENT if emptyView is needed again
// self.emptyView.isHidden = false
// self.emptyViewHeight.constant = self.emptyView.intrinsicContentSize.height
let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount
if (sumRedeemed == 0.0) {
self.showEmptyView = true
} else {
self.showEmptyView = false
}
// self.showEmptyView = true
} else {
self.emptyView.isHidden = true
......@@ -1040,7 +1046,7 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
public func numberOfSections(in tableView: UITableView) -> Int {
// return 4
return 6
return 5
}
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
......@@ -1066,33 +1072,36 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// }
if (section == 0) {
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0 || sumRedeemed > 0.0) {
return 1
} else {
return 0
}
} else if (section == 1) {
return 1
} else if (section == 2) {
let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount
if (sumRedeemed > 0.0) {
if (self.showEmptyView == true) {
return 1
} else {
return 0
}
} else if (section == 3) {
if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") {
} else if (section == 2) {
return 1
} else {
return 0
}
} else if (section == 4) {
if (self.showEmptyView == true) {
// else if (section == 2) {
// let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount
// if (sumRedeemed > 0.0) {
// return 1
// } else {
// return 0
// }
// }
else if (section == 3) {
if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") {
return 1
} else {
return 0
}
} else if (section == 5) {
} else if (section == 4) {
if (self.showSpinner == true) {
return 1
} else {
......@@ -1135,33 +1144,36 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// }
if (indexPath.section == 0) {
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0 || sumRedeemed > 0.0) {
return UITableView.automaticDimension
} else {
return 0.0
}
} else if (indexPath.section == 1) {
return UITableView.automaticDimension
} else if (indexPath.section == 2) {
let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount
if (sumRedeemed > 0.0) {
if (self.showEmptyView == true) {
return UITableView.automaticDimension
} else {
return 0.0
}
} else if (indexPath.section == 3) {
if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") {
} else if (indexPath.section == 2) {
return UITableView.automaticDimension
} else {
return 0.0
}
} else if (indexPath.section == 4) {
if (self.showEmptyView == true) {
// else if (indexPath.section == 2) {
// let sumRedeemed = totalCouponValue + totalCouponDiscount + unifiedCouponsDiscount
// if (sumRedeemed > 0.0) {
// return UITableView.automaticDimension
// } else {
// return 0.0
// }
// }
else if (indexPath.section == 3) {
if (swiftApi().getShowVouchersBanner() == "true" || swiftApi().getShowVouchersBanner() == "false") {
return UITableView.automaticDimension
} else {
return 0.0
}
} else if (indexPath.section == 5) {
} else if (indexPath.section == 4) {
if (self.showSpinner == true) {
return UITableView.automaticDimension
} else {
......@@ -1237,21 +1249,21 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// }
if (section == 0) {
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 70))
view.backgroundColor = .clear
let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: view.frame.width - 40, height: 25))
// titleLabel.font = UIFont(name: "PeridotPE-SBold", size: 21)
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00)
titleLabel.text = "Κουπόνια"
view.addSubview(titleLabel)
return view
} else {
// if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 70))
// view.backgroundColor = .clear
//
// let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: view.frame.width - 40, height: 25))
//// titleLabel.font = UIFont(name: "PeridotPE-SBold", size: 21)
// titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
// titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00)
// titleLabel.text = "Κουπόνια"
//
// view.addSubview(titleLabel)
// return view
// } else {
return nil
}
// }
} else if (section == 1) {
return nil
} else if (section == 2) {
......@@ -1276,8 +1288,6 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// }
} else if (section == 4) {
return nil
} else if (section == 5) {
return nil
} else {
return nil
}
......@@ -1313,11 +1323,11 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// }
if (section == 0) {
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
return 70.0
} else {
// if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
// return 70.0
// } else {
return 0.0
}
// }
} else if (section == 1) {
return 0.0
} else if (section == 2) {
......@@ -1330,8 +1340,6 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// }
} else if (section == 4) {
return 0.0
} else if (section == 5) {
return 0.0
} else {
return 0.0
}
......@@ -1378,19 +1386,21 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
return cell
} else if (indexPath.section == 1) {
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletQuestionnaireBannerTableViewCellId", for: indexPath) as! WalletQuestionnaireBannerTableViewCell
cell.configureCell()
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletEmptyViewTableViewCellId", for: indexPath) as! WalletEmptyViewTableViewCell
return cell
} else if (indexPath.section == 2) {
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletHistoryBannerTableViewCellId", for: indexPath) as! WalletHistoryBannerTableViewCell
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletQuestionnaireBannerTableViewCellId", for: indexPath) as! WalletQuestionnaireBannerTableViewCell
cell.configureCell(isCentered: self.showEmptyView)
return cell
} else if (indexPath.section == 3) {
}
// else if (indexPath.section == 2) {
// let cell = tableView.dequeueReusableCell(withIdentifier: "WalletHistoryBannerTableViewCellId", for: indexPath) as! WalletHistoryBannerTableViewCell
// return cell
// }
else if (indexPath.section == 3) {
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletVouchersBannerTableViewCellId", for: indexPath) as! WalletVouchersBannerTableViewCell
cell.configureCell(showSeparator: self.showActiveCouponsBanners, active: swiftApi().getShowVouchersBanner() == "true")
return cell
} else if (indexPath.section == 4) {
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletEmptyViewTableViewCellId", for: indexPath) as! WalletEmptyViewTableViewCell
return cell
} else {
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletSpinnerTableViewCellId", for: indexPath) as! WalletSpinnerTableViewCell
return cell
......@@ -1441,23 +1451,27 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
// Do nothing - Each button is handled differently
} else if (indexPath.section == 1) {
// Do nothing
} else if (indexPath.section == 2) {
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "Questionnaire"))
swiftApi().openQuestionnaire(self);
} else if (indexPath.section == 2) {
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_history_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
SwiftEventBus.post("firebase", sender: firebaseEvent)
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "LoyaltyHistoryBadge"))
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "LoyaltyHistoryViewController") as! SwiftWarplyFramework.LoyaltyHistoryViewController
self.navigationController?.pushViewController(vc, animated: true)
} else if (indexPath.section == 3) {
}
// else if (indexPath.section == 2) {
// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
// firebaseEvent._eventName = "did_tap_history_badge"
// firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
// SwiftEventBus.post("firebase", sender: firebaseEvent)
//
// swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "LoyaltyHistoryBadge"))
//
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "LoyaltyHistoryViewController") as! SwiftWarplyFramework.LoyaltyHistoryViewController
// self.navigationController?.pushViewController(vc, animated: true)
//
// }
else if (indexPath.section == 3) {
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_vouchers_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
......@@ -1469,8 +1483,6 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
} else if (indexPath.section == 4) {
// Do nothing
} else if (indexPath.section == 5) {
// Do nothing
} else {
// Do nothing
}
......