mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 00:31:14 +00:00
Handle more cases in willChangeTo displayMode delegate method. Create and use setRefreshToolbarItemVisibility method on TimelineViewController.
This commit is contained in:
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? {
|
||||
|
||||
Reference in new issue
Block a user