diff --git a/GMERemittance/Module/WalletStatement/User Interface/View/WalletStatement.storyboard b/GMERemittance/Module/WalletStatement/User Interface/View/WalletStatement.storyboard index f8f2d9e0..aeddb6c8 100644 --- a/GMERemittance/Module/WalletStatement/User Interface/View/WalletStatement.storyboard +++ b/GMERemittance/Module/WalletStatement/User Interface/View/WalletStatement.storyboard @@ -1,5 +1,5 @@ - + @@ -133,6 +133,15 @@ + @@ -168,8 +177,10 @@ + + @@ -196,6 +207,7 @@ + diff --git a/GMERemittance/Module/WalletStatement/User Interface/View/WalletStatementViewController.swift b/GMERemittance/Module/WalletStatement/User Interface/View/WalletStatementViewController.swift index f6359640..e6e8cea2 100644 --- a/GMERemittance/Module/WalletStatement/User Interface/View/WalletStatementViewController.swift +++ b/GMERemittance/Module/WalletStatement/User Interface/View/WalletStatementViewController.swift @@ -21,9 +21,9 @@ class WalletStatementViewController: UIViewController { @IBOutlet weak var dateRangeLabelHeightConstraint: NSLayoutConstraint! @IBOutlet weak var fromDateLabel: UILabel! @IBOutlet weak var toDateLabel: UILabel! + @IBOutlet weak var emptyLabel: UILabel! // MARK: Properties - var presenter: WalletStatementModuleInterface? @@ -33,6 +33,7 @@ class WalletStatementViewController: UIViewController { var statements: [WalletStatement] = [] { didSet { + self.emptyLabel.isHidden = !statements.isEmpty self.tableView.reloadData() guard let fromDate = from, let toDate = to else { self.dateRangeLabelHeightConstraint.constant = 0