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

This commit is contained in:
Brent Simmons
2025-01-18 21:45:32 -08:00
parent 7ea9ce509b
commit e7992441bb
2 changed files with 15 additions and 24 deletions

View File

@@ -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? {