From 0f4cd465b1c25ad81f4e7a1f65915677bf142467 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 21 Jan 2025 14:02:32 -0600 Subject: [PATCH] fixed a few bugs for refreshControl and footerView Signed-off-by: Matt Bruce --- EmployeeDirectory/ViewControllers/EmployeesViewController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmployeeDirectory/ViewControllers/EmployeesViewController.swift b/EmployeeDirectory/ViewControllers/EmployeesViewController.swift index b732bcb..76d130e 100644 --- a/EmployeeDirectory/ViewControllers/EmployeesViewController.swift +++ b/EmployeeDirectory/ViewControllers/EmployeesViewController.swift @@ -104,6 +104,8 @@ class EmployeesViewController: UIViewController { self?.activityIndicator.startAnimating() } else { self?.activityIndicator.stopAnimating() + self?.tableView.refreshControl?.endRefreshing() + self?.updateFooter() } } .store(in: &cancellables)