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 204fa5b0ca
commit 7f66b694b1
12 changed files with 134 additions and 51 deletions
+3 -1
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