Skip to content

Commit

Permalink
attempt to fix stuck spinner, see if pushing check later in the proce…
Browse files Browse the repository at this point in the history
…ss avoids any possible race conditions or inability to remove due to pending UI work
  • Loading branch information
simonmcl committed Jun 28, 2024
1 parent 3a8e4c8 commit 30cc4ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Kukai Mobile/Modules/Home/HomeTabBarController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,13 @@ public class HomeTabBarController: UITabBarController, UITabBarControllerDelegat

NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification).sink { [weak self] _ in
AccountViewModel.reconnectAccountActivityListenerIfNeeded()
self?.recheckWalletConnectAnimation()
self?.supressAutoRefreshError = true
self?.refreshType = .refreshEverything
self?.refresh(addresses: nil)

DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { [weak self] in
self?.recheckWalletConnectAnimation()
}
}.store(in: &bag)

ThemeManager.shared.$themeDidChange
Expand Down

0 comments on commit 30cc4ee

Please sign in to comment.