From 0fd645d115f8fc1bb53418a7a4fb2624f0dbead1 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Fri, 11 Oct 2019 21:27:16 +0400 Subject: [PATCH] Fix main thread access --- submodules/WalletUI/Sources/WalletSplashScreen.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/submodules/WalletUI/Sources/WalletSplashScreen.swift b/submodules/WalletUI/Sources/WalletSplashScreen.swift index 9648d14561..bd20598a19 100644 --- a/submodules/WalletUI/Sources/WalletSplashScreen.swift +++ b/submodules/WalletUI/Sources/WalletSplashScreen.swift @@ -162,7 +162,8 @@ public final class WalletSplashScreen: ViewController { |> restart |> take(1) - strongSelf.actionDisposable.set(check.start(error: { _ in + strongSelf.actionDisposable.set((check + |> deliverOnMainQueue).start(error: { _ in guard let strongSelf = self else { return }