Delay HUD in purchase until appearance
Fixes vertical centering.
This commit is contained in:
parent
f82a84c34b
commit
7251761942
|
@ -75,6 +75,10 @@ class PurchaseViewController: UITableViewController, StrongTableHost {
|
|||
|
||||
isLoading = true
|
||||
tableView.reloadData()
|
||||
}
|
||||
|
||||
override func viewDidAppear(_ animated: Bool) {
|
||||
super.viewDidAppear(animated)
|
||||
|
||||
let hud = HUD(view: view)
|
||||
ProductManager.shared.listProducts { [weak self] _ in
|
||||
|
|
Loading…
Reference in New Issue