The "Swipe to see all rooms" hint is sometimes presented at the wrong time (#5941)

- fixed
This commit is contained in:
Gil Eluard 2022-03-30 09:58:47 +02:00 committed by GitHub
parent 1a77067fd0
commit 71d637d644
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -653,7 +653,7 @@ final class TabBarCoordinator: NSObject, TabBarCoordinatorType {
if !RiotSettings.shared.slideMenuRoomsCoachMessageHasBeenDisplayed {
let isAuthenticated = MXKAccountManager.shared().activeAccounts.first != nil || MXKAccountManager.shared().accounts.first?.isSoftLogout == false
if isAuthenticated, let spaceService = session.spaceService {
if isAuthenticated, let spaceService = session.spaceService, masterTabBarController.presentedViewController == nil, navigationRouter.modules.count == 1 {
if spaceService.isInitialised && !spaceService.rootSpaceSummaries.isEmpty {
RiotSettings.shared.slideMenuRoomsCoachMessageHasBeenDisplayed = true
windowOverlay = WindowOverlayPresenter()

1
changelog.d/5911.bugfix Normal file
View file

@ -0,0 +1 @@
The "Swipe to see all rooms" hint is sometimes presented at the wrong time