From 6115e0ec55bd8ef44c87f9278fa6e8c8a90bd280 Mon Sep 17 00:00:00 2001 From: Saeed Bashir Date: Mon, 31 Jul 2023 11:45:37 +0500 Subject: [PATCH] fix: fix sign out is not working properly (#1780) --- Source/OEXRouter.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/OEXRouter.m b/Source/OEXRouter.m index 0100a42de..8d600ff9a 100644 --- a/Source/OEXRouter.m +++ b/Source/OEXRouter.m @@ -156,7 +156,11 @@ - (void)presentViewController:(UIViewController*)controller fromController:(UIVi } - (void)showLoggedOutScreen { - [self showLoginScreenFromController:nil completion:nil]; + __block OEXRouter *blockSelf = self; + [self showLoginScreenFromController:nil completion:^{ + [blockSelf showSplash]; + blockSelf.logistrationCompletion = nil; + }]; }