implemented the logic that displays the space selection CTA

This commit is contained in:
Mauro Romito
2026-01-19 20:18:51 +01:00
committed by Mauro
parent 4fba0d1ce6
commit 99258a81cd
12 changed files with 134 additions and 51 deletions

View File

@@ -156,13 +156,15 @@ enum RoomAvatarSizeOnScreen {
case spaceAddRooms
case spaceAddRoomsSelected
case completionSuggestions
case createRoomSelectSpace
var value: CGFloat {
switch self {
case .chats, .spaces, .spaceSettings:
return 52
case .timeline, .leaveSpace, .roomDirectorySearch,
.completionSuggestions, .authorizedSpaces, .spaceFilters:
.completionSuggestions, .authorizedSpaces,.createRoomSelectSpace,
.spaceFilters:
return 32
case .notificationSettings:
return 30