     private var fetchCompletionHandler: ((UIBackgroundFetchResult) -> Void)?
     private var launchURL: URL?
     private var hasPerformedWalletDependentInitialization = false
+    private var didInitWallet = false
 
     init() {
         transitionDelegate = ModalTransitionDelegate(type: .transactionDetail, store: store)

        self.walletManager = try? WalletManager(store: self.store, dbPath: nil)
        let _ = self.walletManager?.wallet //attempt to initialize wallet
        DispatchQueue.main.async {
            if !self.hasPerformedWalletDependentInitialization {
                self.didInitWallet()
            }
        }
    }

            }
        }
        updateAssetBundles()
        if !hasPerformedWalletDependentInitialization && didInitWallet {
            didInitWalletManager()
        }

    }

    private func setup() {
