From b856a6e93a3966af416ae35b1da03e7950895dce Mon Sep 17 00:00:00 2001 From: gme_2 Date: Thu, 30 Aug 2018 10:53:53 +0900 Subject: [PATCH] view improvised paymentMode --- .../SendMoneyPaymentModePresenter.swift | 1 + .../View/SendMoneyPaymentMode.storyboard | 56 ++++++++++++++----- .../SendMoneyPaymentModeViewController.swift | 1 - 3 files changed, 42 insertions(+), 16 deletions(-) diff --git a/GMERemittance/Module/SendMoneyPaymentMode/User Interface/Presenter/SendMoneyPaymentModePresenter.swift b/GMERemittance/Module/SendMoneyPaymentMode/User Interface/Presenter/SendMoneyPaymentModePresenter.swift index cddda3d8..bda21feb 100644 --- a/GMERemittance/Module/SendMoneyPaymentMode/User Interface/Presenter/SendMoneyPaymentModePresenter.swift +++ b/GMERemittance/Module/SendMoneyPaymentMode/User Interface/Presenter/SendMoneyPaymentModePresenter.swift @@ -37,6 +37,7 @@ extension SendMoneyPaymentModePresenter: SendMoneyPaymentModeModuleInterface { extension SendMoneyPaymentModePresenter: SendMoneyPaymentModeInteractorOutput { func show(error: Error) { + self.view?.show(error: error.localizedDescription) self.view?.hideLoading() } diff --git a/GMERemittance/Module/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentMode.storyboard b/GMERemittance/Module/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentMode.storyboard index 88162c02..428bb2fd 100644 --- a/GMERemittance/Module/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentMode.storyboard +++ b/GMERemittance/Module/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentMode.storyboard @@ -13,6 +13,9 @@ SanFranciscoDisplay-Regular + + SanFranciscoDisplay-Semibold + SanFranciscoText-Regular @@ -37,19 +40,42 @@ - + - + - + @@ -114,7 +140,7 @@ - + - + - + @@ -148,7 +174,7 @@ - + @@ -222,7 +248,7 @@ - + diff --git a/GMERemittance/Module/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift b/GMERemittance/Module/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift index 0f378536..8226fcb2 100644 --- a/GMERemittance/Module/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift +++ b/GMERemittance/Module/SendMoneyPaymentMode/User Interface/View/SendMoneyPaymentModeViewController.swift @@ -125,7 +125,6 @@ class SendMoneyPaymentModeViewController: UIViewController { } private func shouldValidateAccount() -> Bool { - return true return (self.selectedBank?.accountValidationRequired ?? "false").lowercased() == "true" }