fixed footview ui bug for not having a frame
Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
e1521c47a8
commit
f3086d35d5
@ -88,6 +88,7 @@ class EmployeesViewController: UIViewController {
|
|||||||
} else { // Update the message
|
} else { // Update the message
|
||||||
footerView?.update(message: message)
|
footerView?.update(message: message)
|
||||||
}
|
}
|
||||||
|
footerView?.frame = CGRect(x: 0, y: 0, width: tableView.frame.width, height: 150)
|
||||||
tableView.tableFooterView = footerView
|
tableView.tableFooterView = footerView
|
||||||
} else {
|
} else {
|
||||||
tableView.tableFooterView = nil
|
tableView.tableFooterView = nil
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user