Browse Source

change home

pull/1/head
InKwon James Kim 5 years ago
parent
commit
1bcf75ae39
  1. 2
      GME Remit/APIs/Router/APIRouter.swift
  2. 32
      GME Remit/Modules/Home/User Interface/View/Cell/HomeRemainingLimitTableViewCell.swift
  3. 185
      GME Remit/Modules/Home/User Interface/View/Home.storyboard
  4. 2
      GME Remit/Modules/Home/User Interface/View/HomeViewController.swift
  5. 182
      GME Remit/Modules/SideMenu/SideMenu.storyboard
  6. 16
      GME Remit/Modules/SideMenu/SideMenuViewController.swift

2
GME Remit/APIs/Router/APIRouter.swift

@ -842,7 +842,7 @@ extension APIRouter {
let userID = GMEDB.shared.user.string(.userId) ?? ""
var personalInformation: [String: Any]?
if model.personalInformation != nil {
if model.personalInformation != nil {
personalInformation = [
"fullName": model.personalInformation?.fullName ?? "",
"gender": model.personalInformation?.gender ?? "",

32
GME Remit/Modules/Home/User Interface/View/Cell/HomeRemainingLimitTableViewCell.swift

@ -24,7 +24,14 @@ class HomeRemainingLimitTableViewCell: UITableViewCell {
@IBOutlet weak var pointTitleLabel: UILabel!
@IBOutlet weak var rewardTapGesture: UITapGestureRecognizer!
@IBOutlet weak var withdrawButton: UIButton!
@IBOutlet weak var walletNumberTitleLabel: UILabel!
@IBOutlet weak var walletNumberLabel: UILabel!
@IBOutlet weak var walletBankCodeLabel: UILabel!
var user: User?
weak var sideMenuDelegate: SideMenuDelegate?
override func awakeFromNib() {
super.awakeFromNib()
@ -55,6 +62,13 @@ class HomeRemainingLimitTableViewCell: UITableViewCell {
// self.pointBackgroundView.backgroundColor = .themeRed
pointContainerView.layer.cornerRadius = 5
pointBackgroundView.hero.id = "pointsView"
walletNumberTitleLabel.text = "gme_wallet_no_text".localized()
walletNumberLabel.text = GMEDB.shared.user.string(.walletNumber)
walletBankCodeLabel.text = GMEDB.shared.user.string(.primaryBankName)
withdrawButtonInit()
}
@objc
@ -80,4 +94,22 @@ class HomeRemainingLimitTableViewCell: UITableViewCell {
self.amountLabel.text = amount
}
}
private func withdrawButtonInit() {
withdrawButton.setTitle("withdraw_text".localized(), for: UIControl.State.normal)
let shouldShowWithdrawButton = Utility.pennyTestVerified() && Utility.isVerifiedUser()
withdrawButton.isHidden = !shouldShowWithdrawButton
withdrawButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
withdrawButton.layer.shadowColor = UIColor.darkGray.cgColor
withdrawButton.layer.shadowOpacity = 0.5
withdrawButton.layer.shadowRadius = 2
let offset = CGSize(width: 1, height: 1)
withdrawButton.layer.shadowOffset = offset
}
@IBAction func touchWithdraw(_ sender: UIButton) {
sideMenuDelegate?.didSelectMenu(UIViewController(), didSelectMenu: .withDraw)
}
}

185
GME Remit/Modules/Home/User Interface/View/Home.storyboard

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="ezt-uK-zb8">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="ezt-uK-zb8">
<device id="retina4_0" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15510"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@ -51,7 +51,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Your document is in verification process. This will not take long. Thereafter you can enjoy GME online service." lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="rwJ-pQ-p9z">
<rect key="frame" x="103" y="43" width="193" height="35"/>
<rect key="frame" x="103" y="43" width="193" height="36"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="10"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
@ -88,39 +88,47 @@
<rect key="frame" x="0.0" y="144" width="320" height="375"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="HomeRemainingLimitTableViewCell" rowHeight="115" id="rcn-u6-1gx" customClass="HomeRemainingLimitTableViewCell" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="320" height="115"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="HomeRemainingLimitTableViewCell" id="rcn-u6-1gx" customClass="HomeRemainingLimitTableViewCell" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="320" height="148"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="rcn-u6-1gx" id="ekT-Zr-ohe">
<rect key="frame" x="0.0" y="0.0" width="320" height="115"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="148"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A2Y-eS-2d3">
<rect key="frame" x="0.0" y="0.0" width="320" height="115"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="148"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="wLs-Rj-kxu">
<rect key="frame" x="20" y="20" width="280" height="83.5"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="wLs-Rj-kxu">
<rect key="frame" x="10" y="10" width="300" height="128"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="ybO-Kz-ezE">
<rect key="frame" x="0.0" y="0.0" width="280" height="41.5"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ygG-SQ-Cxm">
<rect key="frame" x="0.0" y="0.0" width="300" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Available Balance" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="q5T-Xf-a5s">
<rect key="frame" x="81" y="0.0" width="118.5" height="17.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Jmt-aO-JQu">
<rect key="frame" x="90.5" y="0.0" width="119.5" height="25"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="254" verticalHuggingPriority="251" text="Available Balance" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="q5T-Xf-a5s">
<rect key="frame" x="0.0" y="0.0" width="119.5" height="25"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="bhr-ET-rTG"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="Ofo-oE-AGa">
<rect key="frame" x="83.5" y="21.5" width="113" height="20"/>
<rect key="frame" x="94.5" y="25" width="111" height="25"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="87473839" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Bf-q6-azV">
<rect key="frame" x="0.0" y="0.0" width="76" height="20"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="87473839" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="8Bf-q6-azV">
<rect key="frame" x="0.0" y="2.5" width="73.5" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XTv-9z-6sB">
<rect key="frame" x="78" y="0.0" width="35" height="20"/>
<rect key="frame" x="75.5" y="2.5" width="35.5" height="20.5"/>
<constraints>
<constraint firstAttribute="width" constant="35.329999999999998" id="BvD-78-zl2"/>
</constraints>
@ -129,41 +137,132 @@
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="25" id="TiV-Vg-iuC"/>
</constraints>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Twf-bj-14O">
<rect key="frame" x="210.5" y="27.5" width="71" height="20.5"/>
<color key="backgroundColor" name="ThemeSubBackground"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="71" id="6NG-mv-5cu"/>
<constraint firstAttribute="height" constant="20.5" id="PCL-Ce-srz"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<state key="normal" title="withraw">
<color key="titleColor" name="ThemeText"/>
</state>
<connections>
<action selector="touchWithdraw:" destination="rcn-u6-1gx" eventType="touchUpInside" id="xuZ-3U-giY"/>
</connections>
</button>
</subviews>
</stackView>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Ofo-oE-AGa" secondAttribute="trailing" constant="10" id="1QH-dX-rcQ"/>
<constraint firstItem="Jmt-aO-JQu" firstAttribute="centerX" secondItem="ygG-SQ-Cxm" secondAttribute="centerX" id="2cy-f1-zvo"/>
<constraint firstItem="Jmt-aO-JQu" firstAttribute="top" secondItem="ygG-SQ-Cxm" secondAttribute="top" id="5OL-29-DKs"/>
<constraint firstItem="Jmt-aO-JQu" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="ygG-SQ-Cxm" secondAttribute="leading" constant="10" id="HOv-P1-aRX"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Twf-bj-14O" secondAttribute="trailing" constant="5" id="UcT-hz-zRg"/>
<constraint firstAttribute="bottom" secondItem="Ofo-oE-AGa" secondAttribute="bottom" id="VRI-Gl-4LM"/>
<constraint firstItem="Twf-bj-14O" firstAttribute="centerY" secondItem="Ofo-oE-AGa" secondAttribute="centerY" id="ZNS-a2-n8H"/>
<constraint firstItem="Ofo-oE-AGa" firstAttribute="top" secondItem="Jmt-aO-JQu" secondAttribute="bottom" id="atf-cu-4Us"/>
<constraint firstItem="Ofo-oE-AGa" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="ygG-SQ-Cxm" secondAttribute="leading" constant="10" id="gmn-J7-8HV"/>
<constraint firstItem="Twf-bj-14O" firstAttribute="leading" secondItem="Ofo-oE-AGa" secondAttribute="trailing" constant="5" id="hFT-Yy-qg9"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Jmt-aO-JQu" secondAttribute="trailing" constant="10" id="qYT-T5-xy1"/>
<constraint firstItem="Ofo-oE-AGa" firstAttribute="centerX" secondItem="ygG-SQ-Cxm" secondAttribute="centerX" id="yrv-97-mJb"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4Vc-l5-gV6">
<rect key="frame" x="0.0" y="55" width="300" height="41"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="4RV-zr-BOs">
<rect key="frame" x="0.0" y="0.0" width="300" height="41"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="3" translatesAutoresizingMaskIntoConstraints="NO" id="eNC-6n-n0c">
<rect key="frame" x="99.5" y="0.0" width="101" height="20.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="253" verticalHuggingPriority="251" text="GME Wallet No." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nSi-uY-iJl">
<rect key="frame" x="0.0" y="0.0" width="101" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="3" translatesAutoresizingMaskIntoConstraints="NO" id="90e-W4-mjA">
<rect key="frame" x="33" y="20.5" width="234" height="20.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="249" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dDR-KK-hgo">
<rect key="frame" x="0.0" y="0.0" width="10" height="20.5"/>
<constraints>
<constraint firstAttribute="height" constant="20.5" id="mQ5-LI-1Eg"/>
<constraint firstAttribute="width" constant="10" id="xpQ-1n-FrI"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KwangJu Bank(034)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kze-MP-8kA">
<rect key="frame" x="13" y="0.0" width="102" height="20.5"/>
<constraints>
<constraint firstAttribute="height" constant="20.5" id="0ag-P2-5Tf"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1098230192831902" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="Pw5-pe-eIc">
<rect key="frame" x="118" y="0.0" width="116" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="4RV-zr-BOs" secondAttribute="bottom" id="GCm-IH-uPa"/>
<constraint firstItem="4RV-zr-BOs" firstAttribute="top" secondItem="4Vc-l5-gV6" secondAttribute="top" id="QAa-2S-9dk"/>
<constraint firstItem="4RV-zr-BOs" firstAttribute="leading" secondItem="4Vc-l5-gV6" secondAttribute="leading" id="j3q-lL-crS"/>
<constraint firstAttribute="trailing" secondItem="4RV-zr-BOs" secondAttribute="trailing" id="mwp-Rg-rf7"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4Ze-gK-s6z">
<rect key="frame" x="0.0" y="51.5" width="280" height="2"/>
<rect key="frame" x="0.0" y="101" width="300" height="2"/>
<color key="backgroundColor" name="ThemeSubBackground"/>
<constraints>
<constraint firstAttribute="height" constant="2" id="h7h-4F-Ddy"/>
</constraints>
</view>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Peb-Sn-rcC">
<rect key="frame" x="0.0" y="63.5" width="280" height="20"/>
<rect key="frame" x="0.0" y="108" width="300" height="20"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="dzi-vM-GUm">
<rect key="frame" x="0.0" y="0.0" width="59" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="83" height="20"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="sdfghgfd" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HSv-Iz-JvY">
<rect key="frame" x="0.0" y="0.0" width="59" height="20"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="14"/>
<rect key="frame" x="0.0" y="0.0" width="83" height="20"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9M5-BJ-Q2C">
<rect key="frame" x="59" y="0.0" width="221" height="20"/>
<rect key="frame" x="83" y="0.0" width="217" height="20"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="cpr-KK-Kff">
<rect key="frame" x="0.0" y="0.0" width="221" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="217" height="20"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Bbu-MJ-HYv">
<rect key="frame" x="0.0" y="0.0" width="169" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="166" height="20"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="Reward point: " textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Rt7-Pa-xst">
<rect key="frame" x="0.0" y="0.0" width="169" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="166" height="20"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" name="ThemeText"/>
@ -172,16 +271,16 @@
</subviews>
</stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rcn-Ft-mI4">
<rect key="frame" x="171" y="0.0" width="50" height="20"/>
<rect key="frame" x="168" y="0.0" width="49" height="20"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="HCB-sr-BJo">
<rect key="frame" x="0.0" y="4" width="50" height="13.5"/>
<rect key="frame" x="0.0" y="4" width="49" height="13.5"/>
<subviews>
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" horizontalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="aUP-ND-ctM">
<rect key="frame" x="0.0" y="0.0" width="50" height="13.5"/>
<rect key="frame" x="0.0" y="0.0" width="49" height="13.5"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="251" text="100000" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="6" translatesAutoresizingMaskIntoConstraints="NO" id="qFV-c8-8UI">
<rect key="frame" x="5" y="0.0" width="40" height="13.5"/>
<rect key="frame" x="5" y="0.0" width="39" height="13.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="15" id="71F-b2-SSk"/>
@ -233,9 +332,9 @@
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="wLs-Rj-kxu" secondAttribute="bottom" constant="10" id="Ser-A0-ROf"/>
<constraint firstItem="wLs-Rj-kxu" firstAttribute="leading" secondItem="A2Y-eS-2d3" secondAttribute="leading" constant="20" id="X51-PH-E20"/>
<constraint firstAttribute="trailing" secondItem="wLs-Rj-kxu" secondAttribute="trailing" constant="20" id="eto-qp-HU8"/>
<constraint firstItem="wLs-Rj-kxu" firstAttribute="top" secondItem="A2Y-eS-2d3" secondAttribute="top" constant="20" id="jqd-ks-cLz"/>
<constraint firstItem="wLs-Rj-kxu" firstAttribute="leading" secondItem="A2Y-eS-2d3" secondAttribute="leading" constant="10" id="X51-PH-E20"/>
<constraint firstAttribute="trailing" secondItem="wLs-Rj-kxu" secondAttribute="trailing" constant="10" id="eto-qp-HU8"/>
<constraint firstItem="wLs-Rj-kxu" firstAttribute="top" secondItem="A2Y-eS-2d3" secondAttribute="top" constant="10" id="jqd-ks-cLz"/>
</constraints>
</view>
</subviews>
@ -256,10 +355,14 @@
<outlet property="rewardPointAmountLabel" destination="qFV-c8-8UI" id="YKL-6A-gRk"/>
<outlet property="rewardTapGesture" destination="ZRA-EC-6mr" id="xUI-l1-MLa"/>
<outlet property="userNameLabel" destination="HSv-Iz-JvY" id="aE5-dT-TQa"/>
<outlet property="walletBankCodeLabel" destination="kze-MP-8kA" id="gH0-dc-KNi"/>
<outlet property="walletNumberLabel" destination="Pw5-pe-eIc" id="hj1-Wu-ivX"/>
<outlet property="walletNumberTitleLabel" destination="nSi-uY-iJl" id="qdg-uP-Zbc"/>
<outlet property="withdrawButton" destination="Twf-bj-14O" id="c1S-NC-Hif"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="HomeCollectionTableViewCell" rowHeight="250" id="va0-Yj-PKZ" userLabel="CollectionTableCell" customClass="HomeCollectionTableViewCell" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="143" width="320" height="250"/>
<rect key="frame" x="0.0" y="176" width="320" height="250"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="va0-Yj-PKZ" id="UgU-Jo-DQf">
<rect key="frame" x="0.0" y="0.0" width="320" height="250"/>
@ -462,10 +565,10 @@
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="ThemeRed">
<color red="0.92900002002716064" green="0.10599999874830246" blue="0.14100000262260437" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.92941176470588238" green="0.10588235294117647" blue="0.14117647058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="ThemeRedDark">
<color red="0.92900002002716064" green="0.10599999874830246" blue="0.14100000262260437" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.92941176470588238" green="0.10588235294117647" blue="0.14117647058823529" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="ThemeSubBackground">
<color red="0.93300002813339233" green="0.93300002813339233" blue="0.93300002813339233" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>

2
GME Remit/Modules/Home/User Interface/View/HomeViewController.swift

@ -154,6 +154,7 @@ class HomeViewController: UIViewController {
setNavBar(isUseMenu: false)
presenter?.viewIsReady()
presenter?.fetchHotLines()
}
override func viewWillDisappear(_ animated: Bool) {
@ -595,6 +596,7 @@ extension HomeViewController: UITableViewDataSource {
cell.user = self.user
cell.setup()
cell.sideMenuDelegate = self
return cell
}

182
GME Remit/Modules/SideMenu/SideMenu.storyboard

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_0" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15510"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@ -115,7 +115,7 @@
</constraints>
</view>
<view contentMode="scaleToFill" horizontalHuggingPriority="252" translatesAutoresizingMaskIntoConstraints="NO" id="Emx-Du-ROy" userLabel="Wallet Information">
<rect key="frame" x="0.0" y="123.5" width="259" height="121"/>
<rect key="frame" x="0.0" y="123.5" width="259" height="52.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Remaining Yearly Limit" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="1rP-4A-Oso">
<rect key="frame" x="0.0" y="0.0" width="239" height="17"/>
@ -145,109 +145,50 @@
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="248" verticalHuggingPriority="251" text="KwangJuBank" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.29999999999999999" translatesAutoresizingMaskIntoConstraints="NO" id="pAp-DL-gmH">
<rect key="frame" x="0.0" y="68.5" width="78" height="14.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="14.5" id="zym-kB-8sy"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="1091238109238192" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.69999999999999996" translatesAutoresizingMaskIntoConstraints="NO" id="Vzp-i5-OHh">
<rect key="frame" x="80" y="66" width="133.5" height="17.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="90" id="SZq-8q-NPo"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="251" horizontalCompressionResistancePriority="748" text="(Your Bank)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="abT-lN-LGb">
<rect key="frame" x="0.0" y="91" width="61.5" height="25"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Y66-dP-u57">
<rect key="frame" x="71.5" y="91" width="71" height="25"/>
<color key="backgroundColor" name="ThemeSubBackground"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="LgV-vd-eH1"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="71" id="ZDh-yf-6tp"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<state key="normal" title="Withdraw">
<color key="titleColor" name="ThemeText"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
<integer key="value" value="3"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="withdraw:" destination="XQF-oH-rUR" eventType="touchUpInside" id="vrh-Z3-d5f"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="66A-MT-Ned" firstAttribute="baseline" secondItem="EMB-JI-d1U" secondAttribute="baseline" id="2zj-uu-NQd"/>
<constraint firstItem="Y66-dP-u57" firstAttribute="leading" secondItem="abT-lN-LGb" secondAttribute="trailing" constant="10" id="3rg-OM-UZf"/>
<constraint firstItem="pAp-DL-gmH" firstAttribute="top" secondItem="EMB-JI-d1U" secondAttribute="bottom" constant="19" id="45b-jR-5Kh"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Y66-dP-u57" secondAttribute="trailing" constant="5" id="C7T-za-vwd"/>
<constraint firstItem="abT-lN-LGb" firstAttribute="height" secondItem="Y66-dP-u57" secondAttribute="height" id="F3w-v7-8M6"/>
<constraint firstItem="Vzp-i5-OHh" firstAttribute="leading" secondItem="pAp-DL-gmH" secondAttribute="trailing" constant="2" id="Jwv-2G-1a8"/>
<constraint firstAttribute="bottom" secondItem="66A-MT-Ned" secondAttribute="bottom" constant="5" id="BHw-ve-c48"/>
<constraint firstItem="66A-MT-Ned" firstAttribute="leading" secondItem="EMB-JI-d1U" secondAttribute="trailing" constant="2" id="KYm-T7-GWO"/>
<constraint firstItem="abT-lN-LGb" firstAttribute="top" secondItem="pAp-DL-gmH" secondAttribute="bottom" constant="8" id="Lm8-BR-3zO"/>
<constraint firstItem="66A-MT-Ned" firstAttribute="top" secondItem="1rP-4A-Oso" secondAttribute="bottom" constant="13.5" id="Otv-nz-JTy"/>
<constraint firstItem="Vzp-i5-OHh" firstAttribute="baseline" secondItem="pAp-DL-gmH" secondAttribute="baseline" id="UYf-zw-Tyj"/>
<constraint firstItem="abT-lN-LGb" firstAttribute="leading" secondItem="pAp-DL-gmH" secondAttribute="leading" id="VuG-xC-7D2"/>
<constraint firstAttribute="bottom" secondItem="Y66-dP-u57" secondAttribute="bottom" constant="5" id="Vvw-i1-Qbx"/>
<constraint firstAttribute="trailing" secondItem="1rP-4A-Oso" secondAttribute="trailing" constant="20" id="Wfk-Vg-plQ"/>
<constraint firstItem="1rP-4A-Oso" firstAttribute="leading" secondItem="Emx-Du-ROy" secondAttribute="leading" id="Wyk-Jx-zfI"/>
<constraint firstItem="Y66-dP-u57" firstAttribute="centerY" secondItem="abT-lN-LGb" secondAttribute="centerY" id="Xel-lI-MXM"/>
<constraint firstItem="EMB-JI-d1U" firstAttribute="leading" secondItem="1rP-4A-Oso" secondAttribute="leading" id="b0q-6I-eFK"/>
<constraint firstItem="1rP-4A-Oso" firstAttribute="top" secondItem="Emx-Du-ROy" secondAttribute="top" id="cKM-sB-8UH"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Vzp-i5-OHh" secondAttribute="trailing" constant="5" id="dsS-Ww-w7Z"/>
<constraint firstItem="EMB-JI-d1U" firstAttribute="top" secondItem="1rP-4A-Oso" secondAttribute="bottom" constant="4" id="eNy-Va-xGy"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="abT-lN-LGb" secondAttribute="trailing" constant="5" id="hzb-bh-9W8"/>
<constraint firstItem="pAp-DL-gmH" firstAttribute="leading" secondItem="EMB-JI-d1U" secondAttribute="leading" id="lKd-ip-E7g"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nNq-27-HgQ" userLabel="seperator">
<rect key="frame" x="0.0" y="254.5" width="259" height="0.5"/>
<rect key="frame" x="0.0" y="186" width="259" height="0.5"/>
<color key="backgroundColor" name="ThemeSeparate"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="M7s-2z-eUd"/>
</constraints>
</view>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="BLa-d5-Z4p">
<rect key="frame" x="0.0" y="265" width="259" height="243"/>
<rect key="frame" x="0.0" y="196.5" width="259" height="311.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="hGN-h7-THC">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="gqh-Wo-OTx">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="ACD-Os-Kmg">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" translatesAutoresizingMaskIntoConstraints="NO" id="3g3-sx-skI">
<rect key="frame" x="0.0" y="0.0" width="15" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="34.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0va-Ca-iYx">
<rect key="frame" x="0.0" y="0.0" width="15" height="6"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="8"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sm_managet_accounts" translatesAutoresizingMaskIntoConstraints="NO" id="Ztf-HT-Cjt">
<rect key="frame" x="0.0" y="6" width="15" height="15"/>
<rect key="frame" x="0.0" y="8" width="15" height="15"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="15" id="Cix-mS-byK"/>
@ -255,7 +196,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HfL-f9-uDZ">
<rect key="frame" x="0.0" y="21" width="15" height="5"/>
<rect key="frame" x="0.0" y="23" width="15" height="11.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -263,7 +204,7 @@
</subviews>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1gS-9y-0Ch">
<rect key="frame" x="30" y="0.0" width="229" height="26"/>
<rect key="frame" x="30" y="0.0" width="229" height="34.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Auto Debit Account">
@ -287,25 +228,25 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="rsv-Ul-7Hc">
<rect key="frame" x="0.0" y="31" width="259" height="26"/>
<rect key="frame" x="0.0" y="39.5" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="dbw-t8-DgY">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="kwd-FT-p8U">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" translatesAutoresizingMaskIntoConstraints="NO" id="JjV-Ef-OIi">
<rect key="frame" x="0.0" y="0.0" width="15" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="34.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ipg-dd-oaB">
<rect key="frame" x="0.0" y="0.0" width="15" height="6"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="8.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sm_managet_accounts" translatesAutoresizingMaskIntoConstraints="NO" id="0uv-Wu-2GP">
<rect key="frame" x="0.0" y="6" width="15" height="15"/>
<rect key="frame" x="0.0" y="8.5" width="15" height="15"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="15" id="v2C-4e-lP0"/>
@ -313,7 +254,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SPi-rZ-Mcf">
<rect key="frame" x="0.0" y="21" width="15" height="5"/>
<rect key="frame" x="0.0" y="23.5" width="15" height="11"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -321,7 +262,7 @@
</subviews>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rMB-sm-fJW">
<rect key="frame" x="30" y="0.0" width="229" height="26"/>
<rect key="frame" x="30" y="0.0" width="229" height="34.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Inbound Account">
@ -345,22 +286,22 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="4mS-U9-2Dv" userLabel="TransactionHistoryStackView">
<rect key="frame" x="0.0" y="62" width="259" height="26"/>
<rect key="frame" x="0.0" y="79" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="AqX-Cz-WVF">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" translatesAutoresizingMaskIntoConstraints="NO" id="ED2-im-yQb">
<rect key="frame" x="0.0" y="0.0" width="15" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="34.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TxO-Bk-c8A">
<rect key="frame" x="0.0" y="0.0" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="10"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sm_txn_report 2" translatesAutoresizingMaskIntoConstraints="NO" id="gPd-WX-FHE">
<rect key="frame" x="0.0" y="5.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="10" width="15" height="15"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="15" id="Cgc-AA-zkk"/>
@ -368,7 +309,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Blw-y0-DJT">
<rect key="frame" x="0.0" y="20.5" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="25" width="15" height="9.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -379,7 +320,7 @@
</constraints>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WBh-cb-774">
<rect key="frame" x="30" y="0.0" width="229" height="26"/>
<rect key="frame" x="30" y="0.0" width="229" height="34.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Transaction History">
@ -401,22 +342,22 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="0e6-jG-YRX" userLabel="RechargeHistoryStackView">
<rect key="frame" x="0.0" y="93" width="259" height="26"/>
<rect key="frame" x="0.0" y="118.5" width="259" height="35"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="Hli-q8-D8L">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="35"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" translatesAutoresizingMaskIntoConstraints="NO" id="P0O-Gp-TaV">
<rect key="frame" x="0.0" y="0.0" width="15" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="35"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tL1-aO-DrB">
<rect key="frame" x="0.0" y="0.0" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="10"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="sm_txn_report 2" translatesAutoresizingMaskIntoConstraints="NO" id="msb-sm-ESw">
<rect key="frame" x="0.0" y="5.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="10" width="15" height="15"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" constant="15" id="dtJ-Au-CTI"/>
@ -424,7 +365,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JDc-Ad-gI5">
<rect key="frame" x="0.0" y="20.5" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="25" width="15" height="10"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -435,7 +376,7 @@
</constraints>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QW4-Sc-rr0">
<rect key="frame" x="30" y="0.0" width="229" height="26"/>
<rect key="frame" x="30" y="0.0" width="229" height="35"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Recharge History">
@ -457,22 +398,22 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="zdy-H8-A2J" userLabel="AboutStackView">
<rect key="frame" x="0.0" y="124" width="259" height="26"/>
<rect key="frame" x="0.0" y="158.5" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="yDy-I4-DNz">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" translatesAutoresizingMaskIntoConstraints="NO" id="xME-i3-f96">
<rect key="frame" x="0.0" y="0.0" width="15" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="34.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="flL-55-hMS">
<rect key="frame" x="0.0" y="0.0" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="9.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="settingsAbout" translatesAutoresizingMaskIntoConstraints="NO" id="2YN-i2-6yb">
<rect key="frame" x="0.0" y="5.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="9.5" width="15" height="15"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="15" id="Vck-rN-Lly"/>
@ -480,7 +421,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dXK-3K-VDg">
<rect key="frame" x="0.0" y="20.5" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="24.5" width="15" height="10"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -491,7 +432,7 @@
</constraints>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="g04-2C-I0o">
<rect key="frame" x="30" y="0.0" width="229" height="26"/>
<rect key="frame" x="30" y="0.0" width="229" height="34.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="About GME">
@ -513,22 +454,22 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="4oZ-AQ-PlP" userLabel="SettingStack View">
<rect key="frame" x="0.0" y="155" width="259" height="26"/>
<rect key="frame" x="0.0" y="198" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="WQs-jK-tRN">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" translatesAutoresizingMaskIntoConstraints="NO" id="LwM-wN-KJw">
<rect key="frame" x="0.0" y="0.0" width="15" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="34.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xzg-iK-Au3">
<rect key="frame" x="0.0" y="0.0" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="9.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="settingsSetting" translatesAutoresizingMaskIntoConstraints="NO" id="fgo-RA-LTU">
<rect key="frame" x="0.0" y="5.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="9.5" width="15" height="15"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="15" id="76v-qf-AAD"/>
@ -536,7 +477,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vVT-yc-cSM">
<rect key="frame" x="0.0" y="20.5" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="24.5" width="15" height="10"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -547,7 +488,7 @@
</constraints>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="74r-QV-rod">
<rect key="frame" x="30" y="0.0" width="229" height="26"/>
<rect key="frame" x="30" y="0.0" width="229" height="34.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Settings">
@ -569,22 +510,22 @@
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="giG-3U-czb" userLabel="LogOutStackView">
<rect key="frame" x="0.0" y="186" width="259" height="26"/>
<rect key="frame" x="0.0" y="237.5" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="EEp-Ts-pi0">
<rect key="frame" x="0.0" y="0.0" width="259" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="34.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" translatesAutoresizingMaskIntoConstraints="NO" id="0qN-Pf-UqP">
<rect key="frame" x="0.0" y="0.0" width="15" height="26"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="34.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UhM-dE-zWT">
<rect key="frame" x="0.0" y="0.0" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="9.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="settingsLogout" translatesAutoresizingMaskIntoConstraints="NO" id="e9b-RT-ZHE">
<rect key="frame" x="0.0" y="5.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="9.5" width="15" height="15"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="15" id="OKZ-Mb-57R"/>
@ -592,7 +533,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ACt-jG-1Oi">
<rect key="frame" x="0.0" y="20.5" width="15" height="5.5"/>
<rect key="frame" x="0.0" y="24.5" width="15" height="10"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -604,7 +545,7 @@
</constraints>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tWd-gc-RoZ">
<rect key="frame" x="30" y="0.0" width="229" height="26"/>
<rect key="frame" x="30" y="0.0" width="229" height="34.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Logout">
@ -619,7 +560,7 @@
</subviews>
</stackView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="249" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EKL-KH-blC">
<rect key="frame" x="0.0" y="217" width="259" height="26"/>
<rect key="frame" x="0.0" y="277" width="259" height="34.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -651,8 +592,6 @@
<outlet property="aboutGmeButton" destination="g04-2C-I0o" id="KXW-AM-XiD"/>
<outlet property="aboutIconImageView" destination="2YN-i2-6yb" id="ZKX-fP-dfD"/>
<outlet property="autoDebitAccountButton" destination="1gS-9y-0Ch" id="vgs-Rq-UBh"/>
<outlet property="gmeWalletNumberLabel" destination="Vzp-i5-OHh" id="PzX-V0-xkm"/>
<outlet property="gmewalletTitleLabel" destination="pAp-DL-gmH" id="bcj-Jm-Agg"/>
<outlet property="imageViewProfileSetting" destination="VRX-3l-YiC" id="To0-7q-WQe"/>
<outlet property="inboundAccountButton" destination="rMB-sm-fJW" id="XsT-7u-Yzx"/>
<outlet property="labelEmail" destination="SdX-nR-jpH" id="Vtd-9B-PVx"/>
@ -662,7 +601,6 @@
<outlet property="logoutButton" destination="tWd-gc-RoZ" id="Syz-09-xc9"/>
<outlet property="logoutIconImageView" destination="e9b-RT-ZHE" id="sHU-dt-3Yv"/>
<outlet property="manageAccountStackView" destination="hGN-h7-THC" id="Jw4-OX-3u5"/>
<outlet property="primaryBankTitleLabel" destination="abT-lN-LGb" id="btc-PQ-Vhm"/>
<outlet property="rechargeHistoryButton" destination="QW4-Sc-rr0" id="4dX-pS-YbU"/>
<outlet property="remainingAmount" destination="EMB-JI-d1U" id="QEQ-If-OAC"/>
<outlet property="remainingTitleLabel" destination="1rP-4A-Oso" id="ELf-3h-inS"/>
@ -670,7 +608,6 @@
<outlet property="settingButton" destination="74r-QV-rod" id="Cj9-bK-J5D"/>
<outlet property="settingIconImageView" destination="fgo-RA-LTU" id="C0O-gL-tAC"/>
<outlet property="transactionHistryButton" destination="WBh-cb-774" id="GSl-r3-Wxv"/>
<outlet property="withdrawButton" destination="Y66-dP-u57" id="1Hc-yt-QIk"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="tY9-V2-fiZ" userLabel="First Responder" sceneMemberID="firstResponder"/>
@ -884,9 +821,6 @@
<namedColor name="ThemeSeparate">
<color red="0.82400000095367432" green="0.82400000095367432" blue="0.82400000095367432" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="ThemeSubBackground">
<color red="0.93300002813339233" green="0.93300002813339233" blue="0.93300002813339233" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
</namedColor>
<namedColor name="ThemeText">
<color red="0.28999999165534973" green="0.28999999165534973" blue="0.28999999165534973" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>

16
GME Remit/Modules/SideMenu/SideMenuViewController.swift

@ -73,11 +73,6 @@ class SideMenuViewController: UIViewController {
@IBOutlet weak var transactionHistryButton: UIButton!
@IBOutlet weak var rechargeHistoryButton: UIButton!
@IBOutlet weak var gmewalletTitleLabel: UILabel!
@IBOutlet weak var gmeWalletNumberLabel: UILabel!
@IBOutlet weak var primaryBankTitleLabel: UILabel!
@IBOutlet weak var withdrawButton: UIButton!
weak var sideMenuDelegate: SideMenuDelegate?
var selectedMenu: MenuType? {
@ -119,13 +114,9 @@ class SideMenuViewController: UIViewController {
private func setup() {
configureText()
let shouldShowWithdrawButton = Utility.pennyTestVerified() && Utility.isVerifiedUser()
self.withdrawButton.isHidden = !shouldShowWithdrawButton
self.manageAccountStackView.isHidden = !shouldShowWithdrawButton
// self.manageAccountStackView.isHidden = true
self.addShadow(view: withdrawButton)
self.view.backgroundColor = .themeRedDark
self.roundedBgView.layer.cornerRadius = 20
@ -146,12 +137,9 @@ class SideMenuViewController: UIViewController {
aboutGmeButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
settingButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
logoutButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
withdrawButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
}
@objc private func configureText() {
withdrawButton.setTitle(StringConstants().withdrawButtonText, for: UIControl.State.normal)
autoDebitAccountButton.setTitle(StringConstants().autoDebitMenuText, for: UIControl.State.normal)
inboundAccountButton.setTitle(StringConstants().inboundMenuText, for: UIControl.State.normal)
aboutGmeButton.setTitle(StringConstants().aboutGmeMenuText, for: UIControl.State.normal)
@ -161,10 +149,6 @@ class SideMenuViewController: UIViewController {
self.transactionHistryButton.setTitle("transaction_report_text".localized(), for: UIControl.State.normal)
rechargeHistoryButton.setTitle("recharge_history_text".localized(), for: .normal)
gmewalletTitleLabel.text = "gme_wallet_no_text".localized()
gmeWalletNumberLabel.text = GMEDB.shared.user.string(.walletNumber)
primaryBankTitleLabel.text = GMEDB.shared.user.string(.primaryBankName)
}
@objc private func updateBalance(sender: Notification) {

Loading…
Cancel
Save