Make the refresh progress view correctly size itself

This commit is contained in:
Maurice Parker
2022-11-11 17:54:10 -06:00
parent 10381029ba
commit 8221e09702
3 changed files with 13 additions and 14 deletions

View File

@@ -81,6 +81,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner, Ma
refreshControl!.tintColor = .clear
progressBarViewController.view.backgroundColor = .clear
progressBarViewController.view.translatesAutoresizingMaskIntoConstraints = false
let refreshProgressItemButton = UIBarButtonItem(customView: progressBarViewController.view)
toolbarItems?.insert(refreshProgressItemButton, at: 2)