Browse Source

transaction history removed from side menu

pull/1/head
Amrit Giri 4 years ago
parent
commit
3da911b051
  1. 18
      GME Remit/Modules/Home/User Interface/View/HomeViewController.swift
  2. 88
      GME Remit/Modules/SideMenu/SideMenu.storyboard
  3. 13
      GME Remit/Modules/SideMenu/SideMenuViewController.swift

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

@ -370,19 +370,6 @@ extension HomeViewController {
presenter?.openTodaysRate() presenter?.openTodaysRate()
} }
private func showTransactionStatement() {
let kycSubmited = user?.kyc ?? false
let pennyTestComplete = Utility.pennyTestVerified()
if kycSubmited == true && pennyTestComplete == false {
self.show(error: StringConstants().pennyTestPrimaryBankText)
return
}
isUserVerified ? (presenter?.openTransactionHistory(type: .outbound)) : (self.showUnVerifiedMessage())
}
@objc private func showUnVerifiedMessage() { @objc private func showUnVerifiedMessage() {
if didNotSubmitKycAndNotVerified { if didNotSubmitKycAndNotVerified {
self.alert(type: .error, message: StringConstants().registerProcessText) self.alert(type: .error, message: StringConstants().registerProcessText)
@ -393,9 +380,6 @@ extension HomeViewController {
} }
} }
@objc private func showUnVerifiedPennyTestMessage() {
self.alert(type: .normal, message: "complete_penny_test".localized())
}
@objc private func showTrackYourTransfer() { @objc private func showTrackYourTransfer() {
let kycSubmited = user?.kyc ?? false let kycSubmited = user?.kyc ?? false
@ -607,8 +591,6 @@ extension HomeViewController: HomeCollectionDelegate {
extension HomeViewController: SideMenuDelegate { extension HomeViewController: SideMenuDelegate {
func didSelectMenu(_ viewController: UIViewController, didSelectMenu: SideMenuViewController.MenuType) { func didSelectMenu(_ viewController: UIViewController, didSelectMenu: SideMenuViewController.MenuType) {
switch didSelectMenu { switch didSelectMenu {
case .transferHistory:
showTransactionStatement()
case .about: case .about:
showSideMenuAboutGme() showSideMenuAboutGme()
case .setting: case .setting:

88
GME Remit/Modules/SideMenu/SideMenu.storyboard

@ -68,7 +68,7 @@
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<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"> <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.333333333333332" height="17"/>
<rect key="frame" x="0.0" y="86" width="19.666666666666668" height="17"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="17" id="dRD-RB-xrC"/> <constraint firstAttribute="height" constant="17" id="dRD-RB-xrC"/>
@ -173,66 +173,10 @@
</constraints> </constraints>
</view> </view>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="BLa-d5-Z4p"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="BLa-d5-Z4p">
<rect key="frame" x="0.0" y="130.66666666666666" width="353" height="194.99999999999997"/>
<rect key="frame" x="0.0" y="130.66666666666666" width="353" height="144.99999999999997"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="4mS-U9-2Dv" userLabel="TransactionHistoryStackView">
<rect key="frame" x="0.0" y="0.0" width="353" height="45"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="AqX-Cz-WVF">
<rect key="frame" x="0.0" y="0.0" width="353" height="45"/>
<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="45"/>
<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="15"/>
<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="15" 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"/>
<constraint firstAttribute="height" constant="15" id="vWT-2O-8xc"/>
</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="30" width="15" height="15"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="Blw-y0-DJT" firstAttribute="height" secondItem="TxO-Bk-c8A" secondAttribute="height" id="ZZ7-ME-z4U"/>
</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="323" height="45"/>
<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">
<color key="titleColor" name="ThemeText"/>
</state>
<connections>
<action selector="openTransactionHistory:" destination="XQF-oH-rUR" eventType="touchUpInside" id="J2V-je-jDI"/>
</connections>
</button>
</subviews>
</stackView>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8HX-jB-3tZ" userLabel="AboutGmeSeperator">
<rect key="frame" x="0.0" y="0.0" width="353" height="0.33333333333333331"/>
<color key="backgroundColor" name="ThemeSeparate"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="SrR-qV-Fgs"/>
</constraints>
</view>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="zdy-H8-A2J" userLabel="AboutStackView"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="zdy-H8-A2J" userLabel="AboutStackView">
<rect key="frame" x="0.0" y="50" width="353" height="45"/>
<rect key="frame" x="0.0" y="0.0" width="353" height="45"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="yDy-I4-DNz"> <stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="yDy-I4-DNz">
<rect key="frame" x="0.0" y="0.0" width="353" height="45"/> <rect key="frame" x="0.0" y="0.0" width="353" height="45"/>
@ -269,7 +213,7 @@
<rect key="frame" x="30" y="0.0" width="323" height="45"/> <rect key="frame" x="30" y="0.0" width="323" height="45"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <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"/> <fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="About GME">
<state key="normal" title="About Fast Remit">
<color key="titleColor" name="ThemeText"/> <color key="titleColor" name="ThemeText"/>
</state> </state>
<connections> <connections>
@ -292,7 +236,7 @@
</constraints> </constraints>
</stackView> </stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="4oZ-AQ-PlP" userLabel="SettingStack View"> <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="100.00000000000003" width="353" height="45"/>
<rect key="frame" x="0.0" y="50" width="353" height="45"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="WQs-jK-tRN"> <stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="WQs-jK-tRN">
<rect key="frame" x="0.0" y="0.0" width="353" height="45"/> <rect key="frame" x="0.0" y="0.0" width="353" height="45"/>
@ -348,7 +292,7 @@
</subviews> </subviews>
</stackView> </stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="giG-3U-czb" userLabel="LogOutStackView"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="giG-3U-czb" userLabel="LogOutStackView">
<rect key="frame" x="0.0" y="150.00000000000003" width="353" height="45"/>
<rect key="frame" x="0.0" y="100.00000000000003" width="353" height="45"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="EEp-Ts-pi0"> <stackView opaque="NO" contentMode="scaleToFill" spacing="15" translatesAutoresizingMaskIntoConstraints="NO" id="EEp-Ts-pi0">
<rect key="frame" x="0.0" y="0.0" width="353" height="45"/> <rect key="frame" x="0.0" y="0.0" width="353" height="45"/>
@ -400,7 +344,7 @@
</subviews> </subviews>
</stackView> </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"> <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="335.66666666666674" width="353" height="340.33333333333326"/>
<rect key="frame" x="0.0" y="285.66666666666674" width="353" height="390.33333333333326"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
@ -440,7 +384,6 @@
<outlet property="roundedBgView" destination="ZoG-VG-s0S" id="pCf-XI-BrX"/> <outlet property="roundedBgView" destination="ZoG-VG-s0S" id="pCf-XI-BrX"/>
<outlet property="settingButton" destination="74r-QV-rod" id="Cj9-bK-J5D"/> <outlet property="settingButton" destination="74r-QV-rod" id="Cj9-bK-J5D"/>
<outlet property="settingIconImageView" destination="fgo-RA-LTU" id="C0O-gL-tAC"/> <outlet property="settingIconImageView" destination="fgo-RA-LTU" id="C0O-gL-tAC"/>
<outlet property="transactionHistryButton" destination="WBh-cb-774" id="GSl-r3-Wxv"/>
</connections> </connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="tY9-V2-fiZ" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="tY9-V2-fiZ" userLabel="First Responder" sceneMemberID="firstResponder"/>
@ -476,33 +419,33 @@
</constraints> </constraints>
</view> </view>
<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"> <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="148" width="346" height="114.66666666666669"/>
<rect key="frame" x="34" y="148" width="346" height="112"/>
<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> <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"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" name="ThemeText"/> <color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BjH-0j-TVc" userLabel="Border"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BjH-0j-TVc" userLabel="Border">
<rect key="frame" x="0.0" y="283.33333333333331" width="414" height="0.33333333333331439"/>
<rect key="frame" x="0.0" y="280.66666666666669" width="414" height="0.33333333333331439"/>
<color key="backgroundColor" name="ThemeSeparate"/> <color key="backgroundColor" name="ThemeSeparate"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="0.5" id="K7M-cd-xsc"/> <constraint firstAttribute="height" constant="0.5" id="K7M-cd-xsc"/>
</constraints> </constraints>
</view> </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"> <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="296.66666666666669" width="346" height="14.333333333333314"/>
<rect key="frame" x="34" y="294" width="346" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="12"/> <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"/> <color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </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"> <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="318" width="346" height="14.333333333333314"/>
<rect key="frame" x="34" y="315" width="346" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" name="ThemeText"/> <color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Oak-ca-Ggm" userLabel="Border"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Oak-ca-Ggm" userLabel="Border">
<rect key="frame" x="0.0" y="355.33333333333331" width="414" height="0.33333333333331439"/>
<rect key="frame" x="0.0" y="352.66666666666669" width="414" height="0.33333333333331439"/>
<color key="backgroundColor" name="ThemeSeparate"/> <color key="backgroundColor" name="ThemeSeparate"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="0.5" id="Xei-YO-zkT"/> <constraint firstAttribute="height" constant="0.5" id="Xei-YO-zkT"/>
@ -510,13 +453,13 @@
</constraints> </constraints>
</view> </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"> <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="366.66666666666669" width="346" height="14.333333333333314"/>
<rect key="frame" x="34" y="364" width="346" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="12"/> <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"/> <color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Kyg-Lw-v7u"> <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="279" y="314.66666666666669" width="117" height="25"/>
<rect key="frame" x="279" y="312" width="117" height="25"/>
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/> <color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="117" id="Bly-5e-PN8"/> <constraint firstAttribute="width" constant="117" id="Bly-5e-PN8"/>
@ -536,7 +479,7 @@
</connections> </connections>
</button> </button>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="IFe-rR-lRI"> <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="IFe-rR-lRI">
<rect key="frame" x="34" y="391.66666666666669" width="25" height="25"/>
<rect key="frame" x="34" y="388.66666666666669" width="25" height="25"/>
<subviews> <subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="j8X-Fa-EPV"> <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"/> <rect key="frame" x="0.0" y="0.0" width="25" height="25"/>
@ -633,7 +576,6 @@
<image name="settingsLinkedin" width="25" height="25"/> <image name="settingsLinkedin" width="25" height="25"/>
<image name="settingsLogout" width="15" height="13"/> <image name="settingsLogout" width="15" height="13"/>
<image name="settingsSetting" width="15" height="16"/> <image name="settingsSetting" width="15" height="16"/>
<image name="sm_txn_report 2" width="64" height="64"/>
<image name="splash_logo" width="124.5" height="36.5"/> <image name="splash_logo" width="124.5" height="36.5"/>
<namedColor name="ThemeMainBackground"> <namedColor name="ThemeMainBackground">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

13
GME Remit/Modules/SideMenu/SideMenuViewController.swift

@ -45,7 +45,6 @@ class SideMenuViewController: UIViewController {
} }
enum MenuType { enum MenuType {
case transferHistory
case about case about
case setting case setting
case notice case notice
@ -65,7 +64,6 @@ class SideMenuViewController: UIViewController {
@IBOutlet weak var aboutIconImageView: UIImageView! @IBOutlet weak var aboutIconImageView: UIImageView!
@IBOutlet weak var settingIconImageView: UIImageView! @IBOutlet weak var settingIconImageView: UIImageView!
@IBOutlet weak var logoutIconImageView: UIImageView! @IBOutlet weak var logoutIconImageView: UIImageView!
@IBOutlet weak var transactionHistryButton: UIButton!
@IBOutlet weak var noticeButton: UIButton! @IBOutlet weak var noticeButton: UIButton!
@ -125,7 +123,6 @@ class SideMenuViewController: UIViewController {
labelProfileName.textColor = .themeRed labelProfileName.textColor = .themeRed
transactionHistryButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
aboutGmeButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5) aboutGmeButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
settingButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5) settingButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
logoutButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5) logoutButton.titleLabel?.adjustsFontSizeToFitWidth(true, scale: 0.5)
@ -136,8 +133,6 @@ class SideMenuViewController: UIViewController {
settingButton.setTitle(StringConstants().settingMenuText, for: UIControl.State.normal) settingButton.setTitle(StringConstants().settingMenuText, for: UIControl.State.normal)
logoutButton.setTitle(StringConstants().logoutTitleText, for: UIControl.State.normal) logoutButton.setTitle(StringConstants().logoutTitleText, for: UIControl.State.normal)
self.transactionHistryButton.setTitle("transaction_report_text".localized(), for: UIControl.State.normal)
} }
@objc private func updateBalance(sender: Notification) { @objc private func updateBalance(sender: Notification) {
@ -155,14 +150,6 @@ class SideMenuViewController: UIViewController {
aboutIconImageView.tintColor = .themeWhite aboutIconImageView.tintColor = .themeWhite
} }
@IBAction func openTransactionHistory(_ sender: Any) {
self.sideMenuController?.hideLeftView()
sideMenuDelegate?.didSelectMenu(self, didSelectMenu: .transferHistory)
}
@IBAction func aboutGme(_ sender: UIButton) { @IBAction func aboutGme(_ sender: UIButton) {
self.sideMenuController?.hideLeftView() self.sideMenuController?.hideLeftView()
sideMenuDelegate?.didSelectMenu(self, didSelectMenu: .about) sideMenuDelegate?.didSelectMenu(self, didSelectMenu: .about)

Loading…
Cancel
Save