mirror of
https://github.com/lil-org/wallet.git
synced 2025-01-06 04:13:11 +03:00
Add additional attempt to read wallets
This commit is contained in:
parent
e17c6c5def
commit
02c4f25f1f
@ -10,9 +10,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
private let priceService = PriceService.shared
|
||||
|
||||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
||||
walletsManager.start()
|
||||
priceService.start()
|
||||
gasService.start()
|
||||
walletsManager.start()
|
||||
return true
|
||||
}
|
||||
|
||||
|
@ -30,6 +30,11 @@ class AccountsListViewController: UIViewController, DataStateContainer {
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
if walletsManager.wallets.isEmpty {
|
||||
walletsManager.start()
|
||||
}
|
||||
|
||||
navigationItem.title = forWalletSelection ? Strings.selectAccount : Strings.accounts
|
||||
navigationController?.navigationBar.prefersLargeTitles = true
|
||||
navigationItem.largeTitleDisplayMode = .always
|
||||
|
Loading…
Reference in New Issue
Block a user