diff --git a/GMERemittance/Module/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift b/GMERemittance/Module/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift index 8b3e1bf7..007bd1fd 100644 --- a/GMERemittance/Module/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift +++ b/GMERemittance/Module/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift @@ -20,6 +20,13 @@ struct MenuNotificationName { class HomeCollectionTableViewCell: UITableViewCell, UICollectionViewDelegateFlowLayout { + struct StringConstants { + static let sendMoneyText = "Send Money" + static let todaysRateText = "Today's Rate" + static let transactionReportText = "Transaction Report" + static let walletStatement = "GME Wallet Statement" + } + enum CollectionMenus: Int { case sendMoney = 0 case mobileRecharge diff --git a/GMERemittance/Module/Home/User Interface/View/Cell/HomeRemainingLimitTableViewCell.swift b/GMERemittance/Module/Home/User Interface/View/Cell/HomeRemainingLimitTableViewCell.swift index 05f73a59..0927065f 100644 --- a/GMERemittance/Module/Home/User Interface/View/Cell/HomeRemainingLimitTableViewCell.swift +++ b/GMERemittance/Module/Home/User Interface/View/Cell/HomeRemainingLimitTableViewCell.swift @@ -10,10 +10,15 @@ import UIKit class HomeRemainingLimitTableViewCell: UITableViewCell { + struct StringConstant { + static let yearlyLimit = "Remaining Yearly Limit" + } + @IBOutlet weak var pointBackgroundView: UIView! @IBOutlet weak var amountLabel: UILabel! @IBOutlet weak var rewardPointAmountLabel: UILabel! @IBOutlet weak var userNameLabel: UILabel! + @IBOutlet weak var remainingYearlyLabel: UILabel! var user: User? @@ -27,6 +32,11 @@ class HomeRemainingLimitTableViewCell: UITableViewCell { let limits = UserDefaults.standard.string(forKey: UserKeys.yearlyLimit) self.amountLabel.text = limits self.userNameLabel.text = user?.firstName?.capitalized + configureText() + } + + private func configureText() { + self.remainingYearlyLabel.text = StringConstant.yearlyLimit } @objc private func getYearlyLimitNotificationName() -> Notification.Name { diff --git a/GMERemittance/Module/Home/User Interface/View/Home.storyboard b/GMERemittance/Module/Home/User Interface/View/Home.storyboard index 55025e3d..000a0537 100644 --- a/GMERemittance/Module/Home/User Interface/View/Home.storyboard +++ b/GMERemittance/Module/Home/User Interface/View/Home.storyboard @@ -1,13 +1,11 @@ - + - - - + @@ -62,7 +60,7 @@