Skip to content

Commit

Permalink
- bug fix: hideLoading completion not being triggered, causing queues…
Browse files Browse the repository at this point in the history
… to get stuck
  • Loading branch information
simonmcl committed Dec 5, 2023
1 parent 7e2bf3a commit 46100e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Kukai Mobile/Extensions/UIViewController+extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ extension UIViewController {
func hideLoadingView(completion: (() -> Void)? = nil) {
UIViewController.activityViewActivityIndicator.stopAnimating()
UIViewController.activityView.removeFromSuperview()
if let comp = completion {
comp()
}
}

static func createLoadingModal() -> UIViewController {
Expand Down

0 comments on commit 46100e3

Please sign in to comment.