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() let transactionReportMenu = HomeCollectionModel()
transactionReportMenu.index = 9 transactionReportMenu.index = 9
transactionReportMenu.title = "transaction_report_text".localized() transactionReportMenu.title = "transaction_report_text".localized()
transactionReportMenu.icon = #imageLiteral(resourceName: "wallet-transfer")
transactionReportMenu.icon = #imageLiteral(resourceName: "track-transfer")
// FIXME: Check Menues. // FIXME: Check Menues.
let menus = [sendMoneyMenu, toadaysRateMenu, transactionReportMenu, walletToWalletMenu] let menus = [sendMoneyMenu, toadaysRateMenu, transactionReportMenu, walletToWalletMenu]

24
GME Remit/Modules/Profile/ProfileChangePasswordViewController.swift

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

Loading…
Cancel
Save