Skip to content

Commit

Permalink
Fix infinite loading wheel on logout (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Loriaux committed Apr 1, 2022
1 parent af965b4 commit 2712355
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Riot/Modules/TabBar/MasterTabBarController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand All @@ -569,7 +570,7 @@ - (void)showOnboardingFlow
// [self presentOnboardingFlow];
[self.masterTabBarDelegate masterTabBarControllerShouldShowAuthenticationFlow:self];
}];
}
// }
}

/**
Expand Down
1 change: 1 addition & 0 deletions changelog.d/489.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Infinite loading wheel on logout

0 comments on commit 2712355

Please sign in to comment.