@@ -35,6 +35,8 @@ class AdminReservationsController: BaseViewController {
3535
3636 var refrControl: UIRefreshControl?
3737
38+ var activityIndicator: UIActivityIndicatorView?
39+
3840 var activeReservations: [ReservationWithUser] = [] {
3941 didSet {
4042 guard let empty = noReservationsView else { return }
@@ -45,7 +47,7 @@ class AdminReservationsController: BaseViewController {
4547 contentView.sendSubviewToBack(empty)
4648 tableView?.alpha = 1
4749 }
48−
50+ activityIndicator?.stopAnimating()
4951 tableView?.reloadData()
5052 }
5153 }
@@ -77,6 +79,10 @@ class AdminReservationsController: BaseViewController {
7779 func setUpContentView() {
7880 self.view.addSubviewThatFills(contentView)
7981
82+ activityIndicator = UIActivityIndicatorView()
83+ contentView.addSubviewThatFills(activityIndicator)
84+ activityIndicator?.startAnimating()
85+
8086 // empty
8187 noReservationsView = AdminNoReservationsView.loadFromNib()
8288 contentView.addSubviewThatFills(noReservationsView)