Browse Source

bug fixed keyboard

pull/1/head
gme_2 6 years ago
parent
commit
81b3b1989e
  1. 2
      GMERemittance/Module/Resend/User Interface/View/ResendViewController.swift
  2. 11
      GMERemittance/Module/ResendExchange/User Interface/View/ResendExchangeViewController.swift
  3. 5
      GMERemittance/Module/SendMoney/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift

2
GMERemittance/Module/Resend/User Interface/View/ResendViewController.swift

@ -98,7 +98,7 @@ class ResendViewController: UIViewController {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationItem.title = "transaction_report_text".localized()
self.navigationItem.title = "resend_text".localized()
}
override func viewWillDisappear(_ animated: Bool) {

11
GMERemittance/Module/ResendExchange/User Interface/View/ResendExchangeViewController.swift

@ -119,15 +119,21 @@ class ResendExchangeViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
self.setup()
fetchInfo()
}
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationItem.title = "resend_text".localized()
configureViews()
fetchInfo()
self.action = ActionBehaviour.calculate
}
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
self.navigationItem.title = ""
}
// MARK: IBActions
@IBAction func continueButton(_ sender: UIButton) {
self.view.endEditing(true)
@ -209,10 +215,13 @@ class ResendExchangeViewController: UIViewController {
private func fetchInfo() {
guard let transactionId = self.transactionId else {return}
self.showLoading()
self.fetch(transactionId: transactionId, success: { (model) in
self.hideLoading()
self.resendInfoModel = model
self.calculateExchangeRate(senderAmount: self.senderTextField.text!, reciepientAmount: self.reciepientTextField.text!, calcBy: self.calcBy)
}) { (error) in
self.hideLoading()
self.alert(message: error.localizedDescription)
}
}

5
GMERemittance/Module/SendMoney/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift

@ -112,8 +112,11 @@ class SendMoneyVerificationViewController: UITableViewController {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationItem.title = "Resend"
populateRecieversInformations()
populateTransactionDetails()
mQwertyTransKeyView?.delegate = self
mNumberTransKeyView?.delegate = self
}
override func viewDidDisappear(_ animated: Bool) {
@ -251,7 +254,7 @@ class SendMoneyVerificationViewController: UITableViewController {
mQwertyTransKeyView?.setKeyboardType(self,
keypadType: 0,
mTK_inputType: 2,
mTK_inputTitle: "입력",
mTK_inputTitle: "Password",
mTK_cryptType: 0,
mTK_maxLength: 100,
mTK_minLength: 0,

Loading…
Cancel
Save