From d647c4ae90d4b78178fa7d9adda81026a50580b8 Mon Sep 17 00:00:00 2001 From: ccr Date: Thu, 27 Dec 2018 11:55:06 +0545 Subject: [PATCH] manage account hidden according to withdraw button --- GMERemittance/SideMenu/SideMenuViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GMERemittance/SideMenu/SideMenuViewController.swift b/GMERemittance/SideMenu/SideMenuViewController.swift index 131f37e3..859f5c48 100644 --- a/GMERemittance/SideMenu/SideMenuViewController.swift +++ b/GMERemittance/SideMenu/SideMenuViewController.swift @@ -70,6 +70,7 @@ class SideMenuViewController: UIViewController { let shouldShowWithdrawButton = Utility.pennyTestVerified() && Utility.isVerifiedUser() self.withdrawButton.isHidden = !shouldShowWithdrawButton + self.manageAccountStackView.isHidden = !shouldShowWithdrawButton self.view.backgroundColor = AppConstants.themeRedColor self.roundedBgView.layer.cornerRadius = 20 self.labelBalance.text = "0" @@ -82,6 +83,7 @@ class SideMenuViewController: UIViewController { self.labelBalance.text = balance let shouldShowWithdrawButton = Utility.pennyTestVerified() && Utility.isVerifiedUser() self.withdrawButton.isHidden = !shouldShowWithdrawButton + self.manageAccountStackView.isHidden = !shouldShowWithdrawButton }