Browse Source

sidmenu view optimized

pull/1/head
gme_2 6 years ago
parent
commit
72851c1a2c
  1. 19
      GMERemittance/AppDelegate.swift
  2. 61
      GMERemittance/Home/Home.storyboard
  3. 4
      GMERemittance/Home/HomeViewController.swift
  4. 2
      GMERemittance/SideMenu/SideMenuViewController.swift

19
GMERemittance/AppDelegate.swift

@ -17,6 +17,7 @@ import Fabric
import Crashlytics
import AlamofireNetworkActivityLogger
import IQKeyboardManagerSwift
import LGSideMenuController
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate, MessagingDelegate {
@ -66,8 +67,24 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
let _default = UserDefaults.standard
if let loginStatus = _default.string(forKey: UserKeys.accessCode) {
// user is logged in
let mainWireFrame = MainWireframe.shared
self.window?.rootViewController = mainWireFrame?.getMainView()
// self.window?.rootViewController =
let tabBarViewController = mainWireFrame?.getMainView()
let sidemenuVc = UIStoryboard(name: "Home", bundle: nil).instantiateViewController(withIdentifier: "SideMenuViewController") as! SideMenuViewController
//
let sideMenuController = LGSideMenuController(rootViewController: tabBarViewController, leftViewController: sidemenuVc, rightViewController: nil)
//
sideMenuController.rootViewLayerShadowColor = UIColor(white: 0.9, alpha: 0.6)
sideMenuController.rootViewLayerShadowRadius = 8.0
sideMenuController.leftViewPresentationStyle = .scaleFromLittle
sideMenuController.leftViewWidth = UIScreen.main.bounds.width - 70.0
window?.backgroundColor = sidemenuVc.view.backgroundColor
self.window?.rootViewController = sideMenuController
}else {
// go to splashscreen
let splashWireframe = SplashScreenWireframe()

61
GMERemittance/Home/Home.storyboard

@ -1111,7 +1111,7 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8WZ-lQ-Im6" userLabel="LoadMoreView">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7wo-T4-XhL">
<rect key="frame" x="155.5" y="8" width="63" height="29"/>
@ -1487,16 +1487,16 @@
<!--Side Menu View Controller-->
<scene sceneID="opL-Tb-7Lp">
<objects>
<viewController id="qeE-iw-dUJ" customClass="SideMenuViewController" customModule="GMERemittance" customModuleProvider="target" sceneMemberID="viewController">
<viewController storyboardIdentifier="SideMenuViewController" id="qeE-iw-dUJ" customClass="SideMenuViewController" customModule="GMERemittance" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="cQp-8y-lEq">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="4cd-Fd-BTs" userLabel="SettingView">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<rect key="frame" x="0.0" y="50" width="375" height="617"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ccr" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JsQ-yR-2jU">
<rect key="frame" x="53" y="18" width="184" height="21.5"/>
<rect key="frame" x="53" y="18" width="121" height="21.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
@ -1509,13 +1509,13 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="9849192759" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0uy-Jf-gcM">
<rect key="frame" x="53" y="53.5" width="184" height="17"/>
<rect key="frame" x="53" y="53.5" width="121" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<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" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KaU-d1-nW6">
<rect key="frame" x="53" y="76.5" width="184" height="17"/>
<rect key="frame" x="53" y="76.5" width="121" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
@ -1557,51 +1557,45 @@
<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="249" verticalHuggingPriority="251" horizontalCompressionResistancePriority="748" text="(Your Bank)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mOd-Ja-jg9">
<rect key="frame" x="153" y="192" width="198" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zEx-HF-eHB" userLabel="Border">
<rect key="frame" x="0.0" y="217.5" width="375" height="0.5"/>
<rect key="frame" x="0.0" y="236.5" width="375" height="0.5"/>
<color key="backgroundColor" red="0.7843137255" green="0.78039215689999997" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="AVf-QP-L0j"/>
</constraints>
</view>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="settingsAbout" translatesAutoresizingMaskIntoConstraints="NO" id="0gT-pH-oE6">
<rect key="frame" x="53" y="238" width="15" height="15"/>
<rect key="frame" x="53" y="257" width="15" height="15"/>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="U4Z-m1-lnY" userLabel="Border">
<rect key="frame" x="53" y="268.5" width="322" height="0.5"/>
<rect key="frame" x="53" y="287.5" width="322" height="0.5"/>
<color key="backgroundColor" red="0.7843137255" green="0.78039215689999997" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="Ujv-5x-fGg"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sYY-7W-X64" userLabel="Border">
<rect key="frame" x="53" y="315.5" width="322" height="0.5"/>
<rect key="frame" x="53" y="334.5" width="322" height="0.5"/>
<color key="backgroundColor" red="0.7843137255" green="0.78039215689999997" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="lA6-Nv-kgo"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fyN-F5-15j" userLabel="Border">
<rect key="frame" x="53" y="363.5" width="322" height="0.5"/>
<rect key="frame" x="53" y="382.5" width="322" height="0.5"/>
<color key="backgroundColor" red="0.7843137255" green="0.78039215689999997" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="sH4-fe-N1l"/>
</constraints>
</view>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="settingsSupport" translatesAutoresizingMaskIntoConstraints="NO" id="toc-Hg-F09">
<rect key="frame" x="53" y="285" width="17" height="15"/>
<rect key="frame" x="53" y="304" width="17" height="15"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="settingsSetting" translatesAutoresizingMaskIntoConstraints="NO" id="tvw-kz-yV3">
<rect key="frame" x="53" y="332" width="15" height="16"/>
<rect key="frame" x="53" y="351" width="15" height="16"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="settingsLogout" translatesAutoresizingMaskIntoConstraints="NO" id="hn4-Y3-8EN">
<rect key="frame" x="53" y="380" width="15" height="13"/>
<rect key="frame" x="53" y="399" width="15" height="13"/>
</imageView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yfx-Jw-t4l">
<rect key="frame" x="281" y="144" width="71" height="25"/>
@ -1625,14 +1619,14 @@
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3fV-HW-uG5" userLabel="Border">
<rect key="frame" x="53" y="408.5" width="322" height="0.5"/>
<rect key="frame" x="53" y="427.5" width="322" height="0.5"/>
<color key="backgroundColor" red="0.7843137255" green="0.78039215689999997" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="O3R-tG-Xuy"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="A7s-po-pcM">
<rect key="frame" x="83" y="233" width="70" height="29"/>
<rect key="frame" x="83" y="252" width="70" height="29"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="About GME">
<color key="titleColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
@ -1642,7 +1636,7 @@
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="m27-aQ-SYe">
<rect key="frame" x="85" y="280" width="52" height="29"/>
<rect key="frame" x="85" y="299" width="52" height="29"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Support">
<color key="titleColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
@ -1652,7 +1646,7 @@
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="frw-wi-ogl">
<rect key="frame" x="83" y="327" width="54" height="29"/>
<rect key="frame" x="83" y="346" width="54" height="29"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Settings">
<color key="titleColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
@ -1662,7 +1656,7 @@
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ICi-rM-h1K">
<rect key="frame" x="83" y="375" width="45" height="29"/>
<rect key="frame" x="83" y="394" width="45" height="29"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<state key="normal" title="Logout">
<color key="titleColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
@ -1682,6 +1676,12 @@
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<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" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mOd-Ja-jg9">
<rect key="frame" x="53" y="214" width="58" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
@ -1690,15 +1690,15 @@
<constraint firstItem="hn4-Y3-8EN" firstAttribute="top" secondItem="fyN-F5-15j" secondAttribute="bottom" constant="16" id="3Jp-T9-mxO"/>
<constraint firstItem="0gT-pH-oE6" firstAttribute="leading" secondItem="mwu-Cc-sjc" secondAttribute="leading" id="3Qk-3g-1zQ"/>
<constraint firstItem="FIr-df-xSI" firstAttribute="baseline" secondItem="mwu-Cc-sjc" secondAttribute="baseline" id="3xe-5W-3gL"/>
<constraint firstItem="mOd-Ja-jg9" firstAttribute="baseline" secondItem="FIr-df-xSI" secondAttribute="baseline" id="4qY-gv-GaR"/>
<constraint firstItem="KaU-d1-nW6" firstAttribute="top" secondItem="0uy-Jf-gcM" secondAttribute="bottom" constant="6" id="5jj-el-Cv5"/>
<constraint firstItem="fyN-F5-15j" firstAttribute="top" secondItem="tvw-kz-yV3" secondAttribute="bottom" constant="15.5" id="6Eg-IE-XAq"/>
<constraint firstItem="zEx-HF-eHB" firstAttribute="top" secondItem="mOd-Ja-jg9" secondAttribute="bottom" constant="11.5" id="6he-21-ObV"/>
<constraint firstAttribute="trailing" secondItem="WLP-sA-Luz" secondAttribute="trailing" id="78P-CF-IAN"/>
<constraint firstItem="yfx-Jw-t4l" firstAttribute="top" secondItem="9WD-nH-plX" secondAttribute="bottom" constant="32" id="7EC-8S-J5r"/>
<constraint firstItem="zEx-HF-eHB" firstAttribute="top" secondItem="mOd-Ja-jg9" secondAttribute="bottom" constant="8.5" id="7Qp-xR-oqS"/>
<constraint firstItem="m27-aQ-SYe" firstAttribute="top" secondItem="U4Z-m1-lnY" secondAttribute="bottom" constant="11" id="7kc-RR-rFD"/>
<constraint firstAttribute="trailing" secondItem="fvf-Yb-mp5" secondAttribute="trailing" constant="24" id="8Jm-VM-YJU"/>
<constraint firstItem="ICi-rM-h1K" firstAttribute="top" secondItem="fyN-F5-15j" secondAttribute="bottom" constant="11" id="ABv-l8-J8E"/>
<constraint firstItem="mOd-Ja-jg9" firstAttribute="leading" secondItem="4cd-Fd-BTs" secondAttribute="leading" constant="53" id="Dam-Vg-1l1"/>
<constraint firstItem="Olc-N1-hU5" firstAttribute="top" secondItem="4cd-Fd-BTs" secondAttribute="top" constant="15" id="F6H-A0-NZB"/>
<constraint firstItem="tvw-kz-yV3" firstAttribute="leading" secondItem="toc-Hg-F09" secondAttribute="leading" id="Foq-Xz-PMG"/>
<constraint firstAttribute="trailing" secondItem="zEx-HF-eHB" secondAttribute="trailing" id="GD1-r3-p4i"/>
@ -1712,13 +1712,12 @@
<constraint firstItem="0uy-Jf-gcM" firstAttribute="leading" secondItem="JsQ-yR-2jU" secondAttribute="leading" id="LT1-mc-bsK"/>
<constraint firstItem="9WD-nH-plX" firstAttribute="leading" secondItem="4cd-Fd-BTs" secondAttribute="leading" id="Lrz-km-0sN"/>
<constraint firstItem="mwu-Cc-sjc" firstAttribute="top" secondItem="GoF-I2-Gol" secondAttribute="bottom" constant="19" id="MUe-9U-UJr"/>
<constraint firstItem="mOd-Ja-jg9" firstAttribute="top" secondItem="mwu-Cc-sjc" secondAttribute="bottom" constant="8" id="ONH-Hd-YZ4"/>
<constraint firstItem="tvw-kz-yV3" firstAttribute="top" secondItem="sYY-7W-X64" secondAttribute="bottom" constant="16" id="PLP-XP-0ux"/>
<constraint firstItem="0Va-YE-zUR" firstAttribute="baseline" secondItem="GoF-I2-Gol" secondAttribute="baseline" id="PnC-NR-vf0"/>
<constraint firstItem="GoF-I2-Gol" firstAttribute="leading" secondItem="WLP-sA-Luz" secondAttribute="leading" id="QZU-KX-alb"/>
<constraint firstItem="fvf-Yb-mp5" firstAttribute="leading" secondItem="JsQ-yR-2jU" secondAttribute="trailing" constant="44" id="Qcl-CF-8hr"/>
<constraint firstAttribute="trailing" secondItem="9WD-nH-plX" secondAttribute="trailing" id="Rbh-Sd-Ayh"/>
<constraint firstItem="sYY-7W-X64" firstAttribute="leading" secondItem="toc-Hg-F09" secondAttribute="leading" id="SJ0-rh-w8g"/>
<constraint firstAttribute="trailing" secondItem="mOd-Ja-jg9" secondAttribute="trailing" constant="24" id="TCp-v9-iLY"/>
<constraint firstItem="sYY-7W-X64" firstAttribute="top" secondItem="toc-Hg-F09" secondAttribute="bottom" constant="15.5" id="Tmv-cP-Yl4"/>
<constraint firstItem="JsQ-yR-2jU" firstAttribute="top" secondItem="4cd-Fd-BTs" secondAttribute="top" constant="18" id="Wun-OO-fiK"/>
<constraint firstItem="WLP-sA-Luz" firstAttribute="top" secondItem="9WD-nH-plX" secondAttribute="bottom" constant="11" id="XOO-P5-k6E"/>
@ -1729,6 +1728,7 @@
<constraint firstAttribute="trailing" secondItem="yfx-Jw-t4l" secondAttribute="trailing" constant="23" id="b8c-gk-bkR"/>
<constraint firstItem="mwu-Cc-sjc" firstAttribute="leading" secondItem="GoF-I2-Gol" secondAttribute="leading" id="bcy-kf-auJ"/>
<constraint firstItem="frw-wi-ogl" firstAttribute="leading" secondItem="tvw-kz-yV3" secondAttribute="trailing" constant="15" id="du4-z8-fDb"/>
<constraint firstItem="mOd-Ja-jg9" firstAttribute="leading" secondItem="mwu-Cc-sjc" secondAttribute="leading" id="epw-W0-gxl"/>
<constraint firstItem="frw-wi-ogl" firstAttribute="top" secondItem="sYY-7W-X64" secondAttribute="bottom" constant="11" id="gpV-Jv-6e3"/>
<constraint firstItem="0uy-Jf-gcM" firstAttribute="top" secondItem="JsQ-yR-2jU" secondAttribute="bottom" constant="14" id="hs9-Ve-lyo"/>
<constraint firstItem="3fV-HW-uG5" firstAttribute="top" secondItem="hn4-Y3-8EN" secondAttribute="bottom" constant="15.5" id="iVg-Bh-8Yw"/>
@ -1747,7 +1747,6 @@
<constraint firstItem="A7s-po-pcM" firstAttribute="top" secondItem="zEx-HF-eHB" secondAttribute="bottom" constant="15" id="vCE-Ot-rWd"/>
<constraint firstAttribute="trailing" secondItem="3fV-HW-uG5" secondAttribute="trailing" id="wey-rw-Lf6"/>
<constraint firstItem="WLP-sA-Luz" firstAttribute="leading" secondItem="KaU-d1-nW6" secondAttribute="leading" id="ynI-zY-3Ls"/>
<constraint firstItem="mOd-Ja-jg9" firstAttribute="leading" secondItem="FIr-df-xSI" secondAttribute="trailing" constant="2" id="ynq-lu-ngU"/>
</constraints>
</view>
</subviews>
@ -1756,7 +1755,7 @@
<constraint firstItem="4cd-Fd-BTs" firstAttribute="trailing" secondItem="LGr-yf-jmC" secondAttribute="trailing" id="1Hb-rj-UzD"/>
<constraint firstAttribute="bottom" secondItem="4cd-Fd-BTs" secondAttribute="bottom" id="LIK-Ir-VaJ"/>
<constraint firstItem="4cd-Fd-BTs" firstAttribute="leading" secondItem="LGr-yf-jmC" secondAttribute="leading" id="dxX-jX-Gpu"/>
<constraint firstItem="4cd-Fd-BTs" firstAttribute="top" secondItem="cQp-8y-lEq" secondAttribute="top" id="hwi-fP-u8c"/>
<constraint firstItem="4cd-Fd-BTs" firstAttribute="top" secondItem="cQp-8y-lEq" secondAttribute="top" constant="50" id="hwi-fP-u8c"/>
</constraints>
<viewLayoutGuide key="safeArea" id="LGr-yf-jmC"/>
</view>

4
GMERemittance/Home/HomeViewController.swift

@ -159,7 +159,8 @@ class HomeViewController: UIViewController, TableViewCellDelegate, FBSDKSharing
}
@objc func showSideMenu() {
performSegue(withIdentifier: "showSideMenu", sender: nil)
// performSegue(withIdentifier: "showSideMenu", sender: nil)
sideMenuController?.showLeftViewAnimated()
}
func isVerifiedUser() -> Bool {
@ -330,6 +331,7 @@ class HomeViewController: UIViewController, TableViewCellDelegate, FBSDKSharing
setupDelegates()
hideKeyboardWhenTappedAround()
setUpRefreshControl()
setNavBar()
if !isVerifiedUser() {
// self.alert(message: "Your document is in verification process. Thereafter you can enjoy GME online service. Thank you for registering with us!.")

2
GMERemittance/SideMenu/SideMenuViewController.swift

@ -140,7 +140,7 @@ class SideMenuViewController: UIViewController {
//BANK NAME
if let bankName = UserDefaults.standard.object(forKey: "com.gmeremit.bankName") as? String {
labelBank.text = "(" + bankName + ")"
labelBank.text = bankName
}
//IMAGE

Loading…
Cancel
Save