added the create button in the empty state of the space screen and refactored some code

This commit is contained in:
Mauro Romito
2026-01-22 17:18:12 +01:00
committed by Mauro
parent 2fdc37ce72
commit 8090c4a078
18 changed files with 96 additions and 70 deletions

View File

@@ -173,6 +173,7 @@ extension PreviewTests {
}
func testCreateRoomSpaceSelectionSheet() async throws {
AppSettings.resetAllSettings() // Ensure this test's previews start with fresh settings.
for (index, preview) in CreateRoomSpaceSelectionSheet_Previews._allPreviews.enumerated() {
try await assertSnapshots(matching: preview, step: index)
}

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65f117e0aa251da2d4bc8d2d1f98d36a653dd3049613d0a8ff69486debaca72f
size 131043
oid sha256:80f868c99906b7c84e2d9223af3fcdf0f9b840337163b6dedfd617663629f65c
size 137783

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:989cff06585632050964aff0d5cb8a9da15e8be009acbc584f0fde3477c3cee1
size 137412
oid sha256:3840d243a457a5469cd1d94b1b43121a222204a5ddd66e848df6b137a231b5df
size 145959

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1c645564a1248975e005dc8208ee9b8fc5e7d85f8c6c03167fcb0ef5b1681b0
size 86553
oid sha256:74d95c37df429e12f09944fd9959538a7199d17a54b7a0a04d2708e48655cd5b
size 92051

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b6753951ad86e77d21fadc03ddd6faedc24dd59256225901d83d5f253e23f65
size 96839
oid sha256:3967452bce1adb55c30f7f5409c467657d0640935ee580560ecda1620952ecf3
size 105035