We should show welcome screen if we do not have account not before validation of the account. (#156)

pull/2/head
Oleg Gordiichuk 7 years ago committed by Michael Scoff
parent e873a0d632
commit eff5b8cebe
  1. 2
      Trust/AppCoordinator.swift

@ -43,6 +43,8 @@ class AppCoordinator: NSObject, Coordinator {
if keystore.hasAccounts {
showTransactions(for: keystore.recentlyUsedAccount ?? keystore.accounts.first!)
} else {
resetToWelcomeScreen()
}
pushNotificationRegistrar.reRegister()
}

Loading…
Cancel
Save