mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user