Empty spaces list screen (#4936)

* Added an FF to create spaces + empty spaces list state

* removed learn more button and improved spacing

* updated toolbar for chats and spaces to match ios 26 designs
This commit is contained in:
Mauro
2026-01-09 15:17:43 +01:00
committed by GitHub
parent a894da0903
commit 34123a4567
79 changed files with 306 additions and 175 deletions
@@ -288,7 +288,10 @@ class UserSessionFlowCoordinator: FlowCoordinatorProtocol {
.store(in: &cancellables)
userSession.clientProxy.spaceService.topLevelSpacesPublisher
.map { $0.isEmpty ? .hidden : nil }
.combineLatest(flowParameters.appSettings.$createSpaceEnabled)
.map { topLevelSpaces, isCreateSpaceEnabled in
!isCreateSpaceEnabled && topLevelSpaces.isEmpty ? .hidden : nil
}
.weakAssign(to: \.chatsTabDetails.barVisibilityOverride, on: self)
.store(in: &cancellables)
}