|
|
@ -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 |
|
|
|
} |
|
|
|