Browse Source

home screen updated with in dashboard

pull/1/head
Amrit 4 years ago
parent
commit
21dcfdbee3
  1. 2
      GME Remit/Modules/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift
  2. 24
      GME Remit/Modules/Profile/ProfileChangePasswordViewController.swift

2
GME Remit/Modules/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift

@ -135,7 +135,7 @@ class HomeCollectionTableViewCell: UITableViewCell, UICollectionViewDelegateFlow
let transactionReportMenu = HomeCollectionModel()
transactionReportMenu.index = 9
transactionReportMenu.title = "transaction_report_text".localized()
transactionReportMenu.icon = #imageLiteral(resourceName: "wallet-transfer")
transactionReportMenu.icon = #imageLiteral(resourceName: "track-transfer")
// FIXME: Check Menues.
let menus = [sendMoneyMenu, toadaysRateMenu, transactionReportMenu, walletToWalletMenu]

24
GME Remit/Modules/Profile/ProfileChangePasswordViewController.swift

@ -46,24 +46,6 @@ class ProfileChangePasswordViewController: UIViewController {
// MARK: - Properties
var password = "" {
didSet {
self.textFieldNewPassword.text = password
}
}
var confirmPassword = "" {
didSet {
self.textFieldConfirmPassword.text = confirmPassword
}
}
var oldPassword = "" {
didSet {
self.textFieldCurrentPassword.text = oldPassword
}
}
var encryptedPassword: String = ""
var encryptedOldPassword = ""
var encryptedConfirmPassword = ""
@ -256,11 +238,11 @@ extension ProfileChangePasswordViewController{
@objc private func editingChanged(_ textField: UITextField) {
switch textField {
case textFieldCurrentPassword:
oldPassword = textField.text ?? ""
encryptedOldPassword = textField.text ?? ""
case textFieldNewPassword:
password = textField.text ?? ""
encryptedPassword = textField.text ?? ""
case textFieldConfirmPassword:
confirmPassword = textField.text ?? ""
encryptedConfirmPassword = textField.text ?? ""
default:
break
}

Loading…
Cancel
Save