Handle more cases in willChangeTo displayMode delegate method. Create and use setRefreshToolbarItemVisibility method on TimelineViewController.

This commit is contained in:
Brent Simmons committed 2025-01-18 21:47:05 -08:00
1 parent 7ea9ce509b
commit e7992441bb
2 files changed
+15 -24

No files matched your search

@@ -257,6 +257,10 @@ class MainTimelineViewController: UITableViewController, UndoableCommandRunner {
becomeFirstResponder()
}
func setRefreshToolbarItemVisibility(visible: Bool) {
refreshProgressView?.alpha = visible ? 1.0 : 0
}
// MARK: - Table view
override func tableView(_ tableView: UITableView, leadingSwipeActionsConfigurationForRowAt indexPath: IndexPath) -> UISwipeActionsConfiguration? {