From 1e818a66c3edffd8cd748f38181766820aaff2ed Mon Sep 17 00:00:00 2001 From: Philippe Loriaux Date: Fri, 1 Apr 2022 11:10:56 +0200 Subject: [PATCH] Fix infinite loading wheel on logout (#489) --- Riot/Modules/TabBar/MasterTabBarController.m | 11 ++++++----- changelog.d/489.bugfix | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 changelog.d/489.bugfix diff --git a/Riot/Modules/TabBar/MasterTabBarController.m b/Riot/Modules/TabBar/MasterTabBarController.m index 9ce1e75af3..8ab4866a1d 100644 --- a/Riot/Modules/TabBar/MasterTabBarController.m +++ b/Riot/Modules/TabBar/MasterTabBarController.m @@ -557,10 +557,11 @@ - (void)showOnboardingFlow MXLogDebug(@"[MasterTabBarController] showAuthenticationScreen"); // Check whether an authentication screen is not already shown or preparing - if (!self.onboardingCoordinatorBridgePresenter && !self.isOnboardingCoordinatorPreparing) - { - self.isOnboardingCoordinatorPreparing = YES; - self.isOnboardingInProgress = YES; + // Tchap: Disable Onboarding. +// if (!self.onboardingCoordinatorBridgePresenter && !self.isOnboardingCoordinatorPreparing) +// { +// self.isOnboardingCoordinatorPreparing = YES; +// self.isOnboardingInProgress = YES; [self resetReviewSessionsFlags]; @@ -569,7 +570,7 @@ - (void)showOnboardingFlow // [self presentOnboardingFlow]; [self.masterTabBarDelegate masterTabBarControllerShouldShowAuthenticationFlow:self]; }]; - } +// } } /** diff --git a/changelog.d/489.bugfix b/changelog.d/489.bugfix new file mode 100644 index 0000000000..bba1bcc960 --- /dev/null +++ b/changelog.d/489.bugfix @@ -0,0 +1 @@ +Infinite loading wheel on logout