Browse Source

Remove yearly Limit at side menu and then it put profile

pull/1/head
InKwon James Kim 5 years ago
parent
commit
e14c5e8ad9
  1. 30
      GME Remit/Modules/Home/User Interface/View/Home.storyboard
  2. 71
      GME Remit/Modules/Profile/Profile.storyboard
  3. 7
      GME Remit/Modules/Profile/ProfileViewController.swift
  4. 189
      GME Remit/Modules/SideMenu/SideMenu.storyboard
  5. 14
      GME Remit/Modules/SideMenu/SideMenuViewController.swift

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

@ -113,8 +113,8 @@
<color key="textColor" name="ThemeText"/>
<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="18" y="20.5" width="102" height="20.5"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="N/A" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kze-MP-8kA">
<rect key="frame" x="59.5" y="20.5" width="19" height="20.5"/>
<constraints>
<constraint firstAttribute="height" constant="20.5" id="0ag-P2-5Tf"/>
</constraints>
@ -122,8 +122,8 @@
<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" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pw5-pe-eIc">
<rect key="frame" x="11" y="41" width="116" height="20.5"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="N/A" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pw5-pe-eIc">
<rect key="frame" x="58" y="41" width="22" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
@ -140,7 +140,7 @@
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="Qa6-dW-646">
<rect key="frame" x="21.5" y="18" width="94.5" height="20.5"/>
<rect key="frame" x="47.5" y="18" width="42.5" height="20.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="XTv-9z-6sB">
<rect key="frame" x="0.0" y="0.0" width="14" height="20.5"/>
@ -148,8 +148,8 @@
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="261" verticalHuggingPriority="251" text="87,473,839" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Bf-q6-azV">
<rect key="frame" x="16" y="0.0" width="78.5" height="20.5"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="261" verticalHuggingPriority="251" text="N/A" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Bf-q6-azV">
<rect key="frame" x="16" y="0.0" width="26.5" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
@ -173,7 +173,7 @@
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="dzi-vM-GUm">
<rect key="frame" x="0.0" y="0.0" width="63" 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">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="N/A" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HSv-Iz-JvY">
<rect key="frame" x="0.0" y="0.0" width="63" height="20"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
@ -188,10 +188,10 @@
<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="166" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="186" 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="166" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="186" 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"/>
@ -200,16 +200,16 @@
</subviews>
</stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rcn-Ft-mI4">
<rect key="frame" x="168" y="0.0" width="49" height="20"/>
<rect key="frame" x="188" y="0.0" width="29" 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="49" height="13.5"/>
<rect key="frame" x="0.0" y="4" width="29" 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="49" height="13.5"/>
<rect key="frame" x="0.0" y="0.0" width="29" 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="39" height="13.5"/>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="251" text="N/A" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="6" translatesAutoresizingMaskIntoConstraints="NO" id="qFV-c8-8UI">
<rect key="frame" x="5" y="0.0" width="19" 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"/>

71
GME Remit/Modules/Profile/Profile.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="ift-aL-bsv">
<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="ift-aL-bsv">
<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"/>
@ -118,13 +118,13 @@
<rect key="frame" x="10" y="248" width="300" height="130"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Your Available Balance" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mmh-uV-sP4">
<rect key="frame" x="30" y="18" width="143" height="17"/>
<rect key="frame" x="30" y="18" width="142.5" height="16.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" name="ThemeText"/>
<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="EXY-5m-shp">
<rect key="frame" x="55" y="47" width="29" height="14"/>
<rect key="frame" x="54.5" y="46.5" width="29" height="14"/>
<constraints>
<constraint firstAttribute="width" constant="29" id="CQX-ba-hyQ"/>
<constraint firstAttribute="height" constant="14" id="cBG-w2-z4r"/>
@ -154,10 +154,10 @@
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QWE-De-OIo">
<rect key="frame" x="20" y="69" width="260" height="21"/>
<rect key="frame" x="20" y="68.5" width="260" height="21"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="asldkjfalsdkfjaskdlfjasdklfjkasdf" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="nlo-iP-QwN">
<rect key="frame" x="10" y="2" width="136.5" height="17"/>
<rect key="frame" x="10" y="2" width="136.5" height="16.5"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="13" id="Vul-Ou-98m"/>
</constraints>
@ -166,7 +166,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="91028120938112" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="hkj-cL-iCj">
<rect key="frame" x="150" y="2" width="100" height="17"/>
<rect key="frame" x="150" y="2" width="100" height="16.5"/>
<constraints>
<constraint firstAttribute="width" constant="100" id="GGp-iK-ZUJ"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="13" id="dAY-tV-MW7"/>
@ -187,7 +187,7 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="MAZ-i9-fR8">
<rect key="frame" x="30" y="37" width="21" height="28"/>
<rect key="frame" x="30" y="36.5" width="20.5" height="28"/>
<constraints>
<constraint firstAttribute="height" constant="28" id="bd9-CU-FEm"/>
</constraints>
@ -196,7 +196,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Z2-3Z-f4C">
<rect key="frame" x="30" y="98" width="0.0" height="13"/>
<rect key="frame" x="30" y="97.5" width="0.0" height="13"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="13" id="Fsm-2f-UIG"/>
</constraints>
@ -242,6 +242,54 @@
<segue destination="4vv-1X-cU7" kind="show" id="KDF-EE-aoC"/>
</connections>
</button>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="58L-oJ-foA">
<rect key="frame" x="10" y="388" width="300" height="69.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Remaining Yearly Limit" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4mc-iJ-afH">
<rect key="frame" x="30" y="10" width="142" height="16.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="M2t-TP-bRC">
<rect key="frame" x="30" y="31.5" width="240" height="28"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="USD" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8od-2w-ReG">
<rect key="frame" x="0.0" y="0.0" width="29" height="28"/>
<constraints>
<constraint firstAttribute="width" constant="29" id="e3P-zC-ire"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="vPE-Gj-mJ6">
<rect key="frame" x="33" y="0.0" width="207" height="28"/>
<constraints>
<constraint firstAttribute="height" constant="28" id="lqg-pN-PeN"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="24"/>
<color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
<color key="backgroundColor" name="ThemeSubBackground"/>
<constraints>
<constraint firstItem="M2t-TP-bRC" firstAttribute="top" secondItem="4mc-iJ-afH" secondAttribute="bottom" constant="5" id="8m9-Ij-GgA"/>
<constraint firstItem="M2t-TP-bRC" firstAttribute="leading" secondItem="58L-oJ-foA" secondAttribute="leading" constant="30" id="OpT-Wt-m87"/>
<constraint firstAttribute="trailing" secondItem="M2t-TP-bRC" secondAttribute="trailing" constant="30" id="Typ-Au-l3b"/>
<constraint firstItem="4mc-iJ-afH" firstAttribute="top" secondItem="58L-oJ-foA" secondAttribute="top" constant="10" id="i3F-0q-2k9"/>
<constraint firstItem="4mc-iJ-afH" firstAttribute="leading" secondItem="58L-oJ-foA" secondAttribute="leading" constant="30" id="m8Z-dC-qik"/>
<constraint firstAttribute="bottom" secondItem="M2t-TP-bRC" secondAttribute="bottom" constant="10" id="poF-d2-GIa"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<integer key="value" value="10"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
@ -253,7 +301,9 @@
<constraint firstAttribute="trailing" secondItem="251-PR-tsb" secondAttribute="trailing" constant="10" id="HIe-9r-ZMq"/>
<constraint firstItem="l9d-Jg-bOV" firstAttribute="centerX" secondItem="59d-1R-egH" secondAttribute="centerX" id="InY-Z8-k4X"/>
<constraint firstAttribute="trailing" secondItem="YgX-nG-MrF" secondAttribute="trailing" constant="10" id="RJb-bT-Lbq"/>
<constraint firstItem="58L-oJ-foA" firstAttribute="top" secondItem="YgX-nG-MrF" secondAttribute="bottom" constant="10" id="STc-5n-G2p"/>
<constraint firstItem="RTV-0I-Wek" firstAttribute="leading" secondItem="59d-1R-egH" secondAttribute="leading" constant="20" id="St3-1g-6ZA"/>
<constraint firstItem="58L-oJ-foA" firstAttribute="leading" secondItem="59d-1R-egH" secondAttribute="leading" constant="10" id="TGM-6g-8YO"/>
<constraint firstItem="RTV-0I-Wek" firstAttribute="top" secondItem="l9d-Jg-bOV" secondAttribute="bottom" constant="11" id="Yen-ld-mau"/>
<constraint firstItem="YgX-nG-MrF" firstAttribute="leading" secondItem="59d-1R-egH" secondAttribute="leading" constant="10" id="a88-6R-tU2"/>
<constraint firstItem="hfP-aZ-zbf" firstAttribute="leading" secondItem="l9d-Jg-bOV" secondAttribute="trailing" constant="-18" id="aq4-JB-iwM"/>
@ -269,6 +319,7 @@
<constraint firstItem="l9d-Jg-bOV" firstAttribute="top" secondItem="59d-1R-egH" secondAttribute="top" constant="33" id="oOC-RR-ngp"/>
<constraint firstItem="LJ0-rG-zkE" firstAttribute="top" secondItem="dmN-OS-njR" secondAttribute="bottom" constant="6" id="shS-ny-uXk"/>
<constraint firstItem="ycZ-2I-FoZ" firstAttribute="top" secondItem="59d-1R-egH" secondAttribute="top" constant="21" id="tkz-8M-NkL"/>
<constraint firstAttribute="trailing" secondItem="58L-oJ-foA" secondAttribute="trailing" constant="10" id="up1-i1-AAh"/>
<constraint firstItem="a9d-Ej-Ijh" firstAttribute="top" secondItem="59d-1R-egH" secondAttribute="top" constant="33" id="viq-qz-JwH"/>
</constraints>
</view>
@ -308,6 +359,8 @@
<outlet property="labelMobileNumber" destination="dmN-OS-njR" id="24y-nl-WKQ"/>
<outlet property="labelUserName" destination="RTV-0I-Wek" id="vT7-GX-0jq"/>
<outlet property="labelUserProfileName" destination="a9d-Ej-Ijh" id="Tez-wL-bu0"/>
<outlet property="limitLabel" destination="vPE-Gj-mJ6" id="DzR-HX-nIl"/>
<outlet property="limitTitleLabel" destination="4mc-iJ-afH" id="Ltq-fk-ntE"/>
<outlet property="withdrawButton" destination="Upd-kh-obI" id="9bq-Il-Lsp"/>
</connections>
</viewController>

7
GME Remit/Modules/Profile/ProfileViewController.swift

@ -28,6 +28,8 @@ class ProfileViewController: UIViewController {
@IBOutlet weak var availableBalancetTitleLabel: UILabel!
@IBOutlet weak var gmeWalletNoTitle: UILabel!
@IBOutlet weak var limitTitleLabel: UILabel!
@IBOutlet weak var limitLabel: UILabel!
var profileImage: UIImage!
public static var profileConnectionTimeOutCheck = 0
@ -64,6 +66,11 @@ class ProfileViewController: UIViewController {
self.withdrawButton.setTitle(StringConstants().withdrawButtonText, for: UIControl.State.normal)
self.changePasswordButton.setTitle(StringConstants().changePasswordText, for: UIControl.State.normal)
withdrawButton.layer.cornerRadius = 5
limitTitleLabel.text = "remaining_limit_text".localized()
limitLabel.textColor = .themeRed
let yearlyLimit = GMEDB.shared.user.string(.yearlyLimit)
limitLabel.text = Utility.getCommaSeperatedString(numberString: yearlyLimit ?? "")
}
override func setupTabItem() {

189
GME Remit/Modules/SideMenu/SideMenu.storyboard

@ -40,7 +40,7 @@
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qlG-Mh-Rkm" userLabel="User Information">
<rect key="frame" x="0.0" y="0.0" width="259" height="103"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ccr" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="12" translatesAutoresizingMaskIntoConstraints="NO" id="kdg-zQ-NIN">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="12" translatesAutoresizingMaskIntoConstraints="NO" id="kdg-zQ-NIN">
<rect key="frame" x="0.0" y="10" width="181" height="43"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
@ -57,7 +57,7 @@
<constraint firstAttribute="width" constant="70" id="GJV-Wr-7AM"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="9849192759" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="7" translatesAutoresizingMaskIntoConstraints="NO" id="QNQ-s6-P5E">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="...." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="7" translatesAutoresizingMaskIntoConstraints="NO" id="QNQ-s6-P5E">
<rect key="frame" x="0.0" y="61" width="181" height="17"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
@ -67,8 +67,8 @@
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="sis.ccr@gmail.com" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="7" translatesAutoresizingMaskIntoConstraints="NO" id="SdX-nR-jpH">
<rect key="frame" x="0.0" y="86" width="117" height="17"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="....." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="7" translatesAutoresizingMaskIntoConstraints="NO" id="SdX-nR-jpH">
<rect key="frame" x="0.0" y="86" width="20.5" height="17"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="dRD-RB-xrC"/>
@ -114,81 +114,29 @@
<constraint firstAttribute="height" constant="0.5" id="FXh-1J-mPa"/>
</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="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"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="Ggv-WS-oB3"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="12" translatesAutoresizingMaskIntoConstraints="NO" id="EMB-JI-d1U">
<rect key="frame" x="0.0" y="21" width="20.5" height="28.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="24"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="USD" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="66A-MT-Ned">
<rect key="frame" x="22.5" y="30.5" width="30" height="17"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="FRE-hX-VcG"/>
<constraint firstAttribute="width" constant="30" id="PmD-IP-BjH"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
</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 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="66A-MT-Ned" firstAttribute="top" secondItem="1rP-4A-Oso" secondAttribute="bottom" constant="13.5" id="Otv-nz-JTy"/>
<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="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 firstItem="EMB-JI-d1U" firstAttribute="top" secondItem="1rP-4A-Oso" secondAttribute="bottom" constant="4" id="eNy-Va-xGy"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nNq-27-HgQ" userLabel="seperator">
<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="196.5" width="259" height="311.5"/>
<rect key="frame" x="0.0" y="123.5" width="259" height="384.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="43.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="8"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="14"/>
<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="8" width="15" height="15"/>
<rect key="frame" x="0.0" y="14" 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"/>
@ -196,7 +144,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="23" width="15" height="11.5"/>
<rect key="frame" x="0.0" y="29" width="15" height="14.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -204,7 +152,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="34.5"/>
<rect key="frame" x="30" y="0.0" width="229" height="43.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">
@ -228,25 +176,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="39.5" width="259" height="34.5"/>
<rect key="frame" x="0.0" y="48.5" width="259" height="44"/>
<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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="44"/>
<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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="44"/>
<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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="44"/>
<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="8.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="14.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="8.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="14.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"/>
@ -254,7 +202,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="23.5" width="15" height="11"/>
<rect key="frame" x="0.0" y="29.5" width="15" height="14.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -262,7 +210,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="34.5"/>
<rect key="frame" x="30" y="0.0" width="229" height="44"/>
<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">
@ -286,22 +234,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="79" width="259" height="34.5"/>
<rect key="frame" x="0.0" y="97.5" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="43.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="10"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="14"/>
<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="10" width="15" height="15"/>
<rect key="frame" x="0.0" y="14" 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"/>
@ -309,7 +257,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="25" width="15" height="9.5"/>
<rect key="frame" x="0.0" y="29" width="15" height="14.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -320,7 +268,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="34.5"/>
<rect key="frame" x="30" y="0.0" width="229" height="43.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">
@ -342,22 +290,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="118.5" width="259" height="35"/>
<rect key="frame" x="0.0" y="146" width="259" height="44"/>
<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="35"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="44"/>
<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="35"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="44"/>
<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="10"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="14.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_txn_report 2" translatesAutoresizingMaskIntoConstraints="NO" id="msb-sm-ESw">
<rect key="frame" x="0.0" y="10" width="15" height="15"/>
<rect key="frame" x="0.0" y="14.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="dtJ-Au-CTI"/>
@ -365,7 +313,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="25" width="15" height="10"/>
<rect key="frame" x="0.0" y="29.5" width="15" height="14.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -376,7 +324,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="35"/>
<rect key="frame" x="30" y="0.0" width="229" height="44"/>
<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">
@ -398,22 +346,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="158.5" width="259" height="34.5"/>
<rect key="frame" x="0.0" y="195" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="43.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="9.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="14"/>
<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="9.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="14" 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"/>
@ -421,7 +369,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="24.5" width="15" height="10"/>
<rect key="frame" x="0.0" y="29" width="15" height="14.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -432,7 +380,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="34.5"/>
<rect key="frame" x="30" y="0.0" width="229" height="43.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">
@ -454,22 +402,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="198" width="259" height="34.5"/>
<rect key="frame" x="0.0" y="243.5" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="43.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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="43.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="9.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="14.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="9.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="14.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"/>
@ -477,7 +425,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="24.5" width="15" height="10"/>
<rect key="frame" x="0.0" y="29.5" width="15" height="14"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -488,7 +436,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="34.5"/>
<rect key="frame" x="30" y="0.0" width="229" height="43.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">
@ -510,22 +458,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="237.5" width="259" height="34.5"/>
<rect key="frame" x="0.0" y="292" width="259" height="44"/>
<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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="259" height="44"/>
<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="34.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="44"/>
<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="9.5"/>
<rect key="frame" x="0.0" y="0.0" width="15" height="14.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="9.5" width="15" height="15"/>
<rect key="frame" x="0.0" y="14.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"/>
@ -533,7 +481,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="24.5" width="15" height="10"/>
<rect key="frame" x="0.0" y="29.5" width="15" height="14.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -545,7 +493,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="34.5"/>
<rect key="frame" x="30" y="0.0" width="229" height="44"/>
<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">
@ -560,7 +508,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="277" width="259" height="34.5"/>
<rect key="frame" x="0.0" y="341" width="259" height="43.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
@ -594,6 +542,7 @@
<outlet property="autoDebitAccountButton" destination="1gS-9y-0Ch" id="vgs-Rq-UBh"/>
<outlet property="imageViewProfileSetting" destination="VRX-3l-YiC" id="To0-7q-WQe"/>
<outlet property="inboundAccountButton" destination="rMB-sm-fJW" id="XsT-7u-Yzx"/>
<outlet property="inboundAccountStackView" destination="rsv-Ul-7Hc" id="Scu-yB-32W"/>
<outlet property="labelEmail" destination="SdX-nR-jpH" id="Vtd-9B-PVx"/>
<outlet property="labelPhone" destination="QNQ-s6-P5E" id="Xf6-UG-G5c"/>
<outlet property="labelProfileName" destination="kdg-zQ-NIN" id="Iqv-EW-sLk"/>
@ -602,8 +551,6 @@
<outlet property="logoutIconImageView" destination="e9b-RT-ZHE" id="sHU-dt-3Yv"/>
<outlet property="manageAccountStackView" destination="hGN-h7-THC" id="Jw4-OX-3u5"/>
<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"/>
<outlet property="roundedBgView" destination="ZoG-VG-s0S" id="pCf-XI-BrX"/>
<outlet property="settingButton" destination="74r-QV-rod" id="Cj9-bK-J5D"/>
<outlet property="settingIconImageView" destination="fgo-RA-LTU" id="C0O-gL-tAC"/>
@ -632,7 +579,7 @@
<rect key="frame" x="0.0" y="0.0" width="320" height="116"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="splash_logo" translatesAutoresizingMaskIntoConstraints="NO" id="ZFj-QW-tAj">
<rect key="frame" x="-6" y="16" width="332" height="94"/>
<rect key="frame" x="77" y="16" width="166" height="47"/>
</imageView>
</subviews>
<color key="backgroundColor" name="ThemeRedDark"/>
@ -643,37 +590,37 @@
</constraints>
</view>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="settingsLogo" translatesAutoresizingMaskIntoConstraints="NO" id="tq5-nv-adM">
<rect key="frame" x="-4" y="148.5" width="328" height="138"/>
<rect key="frame" x="78" y="148.5" width="164" height="69"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AYM-92-crE">
<rect key="frame" x="34" y="314.5" width="252" height="168"/>
<rect key="frame" x="34" y="245.5" width="252" height="158"/>
<string key="text">We are licensed by Ministry of Strategy &amp; Finance to operate as the first Non-Bank Remittance Service providers in South Korea. Meeting all compliance regulations set forward by the regulators was a tough journey but today we feel proud about what we have achieved and how robust our operations are as a result of the hard work completed earlier. We are now ready with a 100% compliant and secured system that guarantees your money will arrive safely in right hands every single time.</string>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BjH-0j-TVc" userLabel="Border">
<rect key="frame" x="0.0" y="503" width="320" height="0.5"/>
<rect key="frame" x="0.0" y="424" width="320" height="0.5"/>
<color key="backgroundColor" name="ThemeSeparate"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="K7M-cd-xsc"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="App Version" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="E3H-nn-Nvh">
<rect key="frame" x="34" y="516.5" width="252" height="14"/>
<rect key="frame" x="34" y="437.5" width="252" height="14.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1.0.1" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cKU-hx-ROy">
<rect key="frame" x="34" y="537.5" width="252" height="14"/>
<rect key="frame" x="34" y="459" width="252" height="14.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Oak-ca-Ggm" userLabel="Border">
<rect key="frame" x="0.0" y="575" width="320" height="0.5"/>
<rect key="frame" x="0.0" y="496" width="320" height="0.5"/>
<color key="backgroundColor" name="ThemeSeparate"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="Xei-YO-zkT"/>
@ -681,13 +628,13 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Follow us on" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bfv-Bk-7vq">
<rect key="frame" x="34" y="586.5" width="252" height="14"/>
<rect key="frame" x="34" y="507.5" width="252" height="14.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Kyg-Lw-v7u">
<rect key="frame" x="185" y="534.5" width="117" height="25"/>
<rect key="frame" x="185" y="455.5" width="117" height="25"/>
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="width" constant="117" id="Bly-5e-PN8"/>
@ -707,7 +654,7 @@
</connections>
</button>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="IFe-rR-lRI">
<rect key="frame" x="34" y="611" width="25" height="25"/>
<rect key="frame" x="34" y="532.5" width="25" height="25"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="j8X-Fa-EPV">
<rect key="frame" x="0.0" y="0.0" width="25" height="25"/>

14
GME Remit/Modules/SideMenu/SideMenuViewController.swift

@ -58,7 +58,6 @@ class SideMenuViewController: UIViewController {
@IBOutlet weak var labelPhone: UILabel!
@IBOutlet weak var labelEmail: UILabel!
@IBOutlet weak var roundedBgView: UIView!
@IBOutlet weak var remainingAmount: UILabel!
@IBOutlet weak var labelUserNameInitial: UILabel!
@IBOutlet weak var settingButton: UIButton!
@IBOutlet weak var aboutGmeButton: UIButton!
@ -69,9 +68,9 @@ class SideMenuViewController: UIViewController {
@IBOutlet weak var settingIconImageView: UIImageView!
@IBOutlet weak var logoutIconImageView: UIImageView!
@IBOutlet weak var manageAccountStackView: UIStackView!
@IBOutlet weak var remainingTitleLabel: UILabel!
@IBOutlet weak var transactionHistryButton: UIButton!
@IBOutlet weak var rechargeHistoryButton: UIButton!
@IBOutlet weak var inboundAccountStackView: UIStackView!
weak var sideMenuDelegate: SideMenuDelegate?
@ -120,7 +119,6 @@ class SideMenuViewController: UIViewController {
self.view.backgroundColor = .themeRedDark
self.roundedBgView.layer.cornerRadius = 20
self.remainingAmount.text = "0"
NotificationCenter.default.addObserver(
self,
selector: #selector(self.updateBalance(sender:)),
@ -129,7 +127,6 @@ class SideMenuViewController: UIViewController {
)
labelProfileName.textColor = .themeRed
remainingAmount.textColor = .themeRed
autoDebitAccountButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
inboundAccountButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
@ -145,18 +142,17 @@ class SideMenuViewController: UIViewController {
aboutGmeButton.setTitle(StringConstants().aboutGmeMenuText, for: UIControl.State.normal)
settingButton.setTitle(StringConstants().settingMenuText, for: UIControl.State.normal)
logoutButton.setTitle(StringConstants().logoutTitleText, for: UIControl.State.normal)
self.remainingTitleLabel.text = "remaining_limit_text".localized()
self.transactionHistryButton.setTitle("transaction_report_text".localized(), for: UIControl.State.normal)
rechargeHistoryButton.setTitle("recharge_history_text".localized(), for: .normal)
}
@objc private func updateBalance(sender: Notification) {
let balance = sender.userInfo?[SideMenuNavigationNotifications.availableBalance] as? String
self.remainingAmount.text = balance
let shouldShowWithdrawButton = Utility.pennyTestVerified() && Utility.isVerifiedUser()
self.manageAccountStackView.isHidden = !shouldShowWithdrawButton
// self.manageAccountStackView.isHidden = true
self.inboundAccountStackView.isHidden = !shouldShowWithdrawButton
}
private func setupBlueBackGroundTheme() {
@ -235,10 +231,6 @@ class SideMenuViewController: UIViewController {
//NAME
labelProfileName.text = GMEDB.shared.user.string(.firstName)?.capitalized
//yearlyLimit
let yearlyLimit = GMEDB.shared.user.string(.yearlyLimit)
remainingAmount.text = Utility.getCommaSeperatedString(numberString: yearlyLimit ?? "")
//IMAGE
let userDpString = GMEDB.shared.user.string(.dpUrl) ?? ""

Loading…
Cancel
Save