Browse Source

dashboard menu items reset

pull/1/head
Dibya Malla 4 years ago
parent
commit
8ea5cbaa4f
  1. 27
      GME Remit/Modules/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift
  2. 2
      GME Remit/MultiLanguages/en.lproj/Localizable.strings

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

@ -91,19 +91,17 @@ class HomeCollectionTableViewCell: UITableViewCell, UICollectionViewDelegateFlow
toadaysRateMenu.title = "todays_rate_text".localized()
toadaysRateMenu.icon = #imageLiteral(resourceName: "rate-today")
let withdrawMenu = HomeCollectionModel()
withdrawMenu.index = 2
withdrawMenu.title = "bank_deposit_text".localized()
let withdrawImage = UIImage.init(named: "ic_bank")
withdrawMenu.icon = withdrawImage
let redeemMenu = HomeCollectionModel()
redeemMenu.index = 3
redeemMenu.title = "redeem_cash_pickup_text".localized()
let redeemImage = UIImage.init(named: "track-transfer")
redeemMenu.icon = redeemImage
// let withdrawMenu = HomeCollectionModel()
// withdrawMenu.index = 2
// withdrawMenu.title = "bank_deposit_text".localized()
// let withdrawImage = UIImage.init(named: "ic_bank")
// withdrawMenu.icon = withdrawImage
//
// let redeemMenu = HomeCollectionModel()
// redeemMenu.index = 3
// redeemMenu.title = "redeem_cash_pickup_text".localized()
// let redeemImage = UIImage.init(named: "track-transfer")
// redeemMenu.icon = redeemImage
let transactionReportMenu = HomeCollectionModel()
transactionReportMenu.index = 4
@ -118,7 +116,8 @@ class HomeCollectionTableViewCell: UITableViewCell, UICollectionViewDelegateFlow
// FIXME: Check Menues.
let menus = [sendMoneyMenu, toadaysRateMenu, withdrawMenu, redeemMenu, transactionReportMenu, trackTransferMenu]
// let menus = [sendMoneyMenu, toadaysRateMenu, withdrawMenu, redeemMenu, transactionReportMenu, trackTransferMenu]
let menus = [sendMoneyMenu, toadaysRateMenu, transactionReportMenu, trackTransferMenu]
return menus
}

2
GME Remit/MultiLanguages/en.lproj/Localizable.strings

@ -60,7 +60,7 @@
"send_money_text" = "Send Money";
"todays_rate_text" = "Today's Rate";
"transaction_report_text" = "Transaction Report";
"gme_wallet_statement_text" = "Fast Remit Wallet Statement";
"gme_wallet_statement_text" = "JME Wallet Statement";
"home_text" = "Home";
"branch_text" = "Branch";
"profile_text" = "Profile";

Loading…
Cancel
Save