Add support for space rooms on the JoinRoomScreen. (#4582)
* Add support for space rooms to JoinRoomScreenModel. * Make a single wrapper type for JoinRoomScreen previews to simplify instantiation. * Add previews for JoinRoomScreen for spaces.
This commit is contained in:
@@ -341,12 +341,24 @@ extension PreviewTests {
|
||||
}
|
||||
}
|
||||
|
||||
func testJoinRoomScreenSpace() async throws {
|
||||
for (index, preview) in JoinRoomScreenSpace_Previews._allPreviews.enumerated() {
|
||||
try await assertSnapshots(matching: preview, step: index)
|
||||
}
|
||||
}
|
||||
|
||||
func testJoinRoomScreen() async throws {
|
||||
for (index, preview) in JoinRoomScreen_Previews._allPreviews.enumerated() {
|
||||
try await assertSnapshots(matching: preview, step: index)
|
||||
}
|
||||
}
|
||||
|
||||
func testJoinedMembersBadgeView() async throws {
|
||||
for (index, preview) in JoinedMembersBadgeView_Previews._allPreviews.enumerated() {
|
||||
try await assertSnapshots(matching: preview, step: index)
|
||||
}
|
||||
}
|
||||
|
||||
func testKnockRequestCell() async throws {
|
||||
for (index, preview) in KnockRequestCell_Previews._allPreviews.enumerated() {
|
||||
try await assertSnapshots(matching: preview, step: index)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a605f4f01ec7521f869b7ead8027fb88899a55b2f2f9ac3ab5a30464cdc60b73
|
||||
size 200598
|
||||
oid sha256:e92b55a7986ece584743d550309a96b647fc73cd34566191631c9aa272a13932
|
||||
size 170830
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:67527c71fad184e8d00749445efdc9c359f152c381d58c2f342ab9f1fa1cc83e
|
||||
size 208079
|
||||
oid sha256:4187d18b46fdf2a1b90d0a1f67f498361b47f607ddcd16ee25409abe5e4d49de
|
||||
size 177895
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2e7fc3ab96b1ff45228494b580d7f78e4c43c145bff5a720b43ab20e00dcd1d
|
||||
size 157323
|
||||
oid sha256:95f76ff290664b4e546cb6125444bae814c705d00c877f2c08390a33aa104395
|
||||
size 117058
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:58e7bb75cb6225c255229a0667c48396456ddb4f0a757867edd1fe3d37f1de24
|
||||
size 166518
|
||||
oid sha256:da684451d5db25969a379e7c7f920d4f4563ccb77dccdc45a0598ad91bf1ac97
|
||||
size 123110
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57335ecfb234a8b7f07533d2590a5893d8a345566de957c3c8078311ac2220fb
|
||||
size 104839
|
||||
oid sha256:a8e8f15242f135c644e7905c246823c3b656f99a7b93169198783a6fddae27d3
|
||||
size 104800
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0071866c826fb34a01f6e39dd912efff185ec3c5ceed12c6cde1cacd0ae76f71
|
||||
size 112509
|
||||
oid sha256:41289451e2d6a6c61836fa3b57a80da888fb57c39e48a659615437700655e6d7
|
||||
size 111305
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:586646492b6aff24360ecddd73c2e1fba29ca2550eb6563fd6d6740a556882d3
|
||||
size 62111
|
||||
oid sha256:e2379fc2ec3034d6b9713207b54f929073aa0786b5d0d46e92d4be9b76b6c89c
|
||||
size 62221
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5831aad8fc5cc59cc503ad3aaff7afd2f3acd298679ef0b8302c1c7869a341e7
|
||||
size 71178
|
||||
oid sha256:207f1724725c1df5b53bf0580f9488f24afe144b613f4ae40392f4781c116c76
|
||||
size 67829
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7ded19d256f8aaffe6d88faebd47f35f2a97d92435d984236eb2de4a246897c4
|
||||
size 135670
|
||||
oid sha256:993651429082ff90a9011c004206f59c56f794c3715b1c9f602454a147bc4fe0
|
||||
size 140094
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:edf3b6507ac10d6c2ebcc205b77197033301f90fef09be1ad360be0a0de84e5a
|
||||
size 143174
|
||||
oid sha256:9e0a313c7169d087e175587f72bce2ee96e8dfb8a37408ec385121f05ad82f60
|
||||
size 146964
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0310cb41f417c1a17eaefa2266dd6a964a8c3134505d519e314876150326e542
|
||||
size 87857
|
||||
oid sha256:67b992da597cafa039ab35ca60ae19d6d7877b02ac123e43404f3cd11bd023e3
|
||||
size 86830
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:866f219044c83c4ced8ccc06627e64d4e28fe0f2ad71fb96dcaf1e67ffb343df
|
||||
size 97226
|
||||
oid sha256:904a028d398ec816d1c29fa843e0a680addff92b91cc6c112376bdecc5ea3539
|
||||
size 92823
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:781e4c61b2bf35b1bc86902ce9401f2c0d7c094b29054ccd6f9c89baa828d376
|
||||
size 159198
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b5b8f3388f0a9255a2f500eb0bed0675a4f6216c52e80431d3ffc8387af44a93
|
||||
size 168187
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:402fac3e7bcfff87bdbc89eb7c6d35b869e5ab149629e4699d6e0b87b390b7bb
|
||||
size 103769
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec484092e0e97334665d626b863b6a47a2c176d1b5e7f3a855c3125519edaaca
|
||||
size 113735
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d8c772a1d8eaf7a8bac1d88a14d12430100d0f52023679e695955cdf9ebad33
|
||||
size 168628
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8d01e685bc5761f29addfd833fe4d24fa1b1654f8c2b91a13c4ca7dffc235782
|
||||
size 189531
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:313b046a9c8cd7dd4475597c52a257dfb0951fc205bb6f0465ce9c462ba4208a
|
||||
size 114677
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3cac35642ae6f970bf4b28f8d902bb38bc21b5be099c8dd8b260e98318ef8912
|
||||
size 138280
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:40e4750c2b5e0f582f2be5435c0ce73b643e7f2a5a6ccafb0eb450d81ad10bdc
|
||||
size 156135
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6244889d82654517c52825f781b5c7525fd94c6cd3fdb7f4d5a8afc0320d46e
|
||||
size 166218
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7d4d6ae41a24e73c0f38dc0587a2d920225fcb58fbcbfb1482d6f2979fb08e6c
|
||||
size 101031
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2006aa0ac864d2610b38c71e081530b995873500d1a3d98f1ebcdce914a84526
|
||||
size 115550
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0e4f55d300def18cb8bfe031be8bad6dddb45983fead425600fec938ac3506cc
|
||||
size 173122
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4466aa5d18da393b14a1e78b174ee810e337741fbd46bfcb48129dc3bf341421
|
||||
size 186507
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7cb916fb72f46870cda686096d190d096ee8fa9c8f87726d53a974214265730e
|
||||
size 117750
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:740a2c55b515fa98f8928d4449e6a79e82455a9edbb634b9ff2770d0029d4f15
|
||||
size 130925
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b8a241ee0871baabbe42ad32258c3e0c33cef6dfd4f784189cef789af35ae0b5
|
||||
size 139503
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b316be924b98aafb5a74e3d159f64791fe1523ed8b178454360ad92bf205d6f2
|
||||
size 152341
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b54c10c5f2c768aa766d2925f262a55ffab01ddf122f6ea7720d8f6a64789d2
|
||||
size 86214
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b323cb7fdafb2a33d5cd5049e6729e03fdd1f4dd39abe85965dbc7d0fbb78fcd
|
||||
size 99217
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:163d05a1a2804d19d8551ad86ecfcb0b40563e79952662effc79566c150fcc5c
|
||||
size 157210
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:68d023be4b3beb2c2c0390fee38476d4ab47598ced8c4bfeb2faac35b21233e7
|
||||
size 165798
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:08bb8765338a52a2414371396cf86703ff62ed918b6350eeef4111d2f479bcd4
|
||||
size 101267
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7eecb1e3a28b4e6362ce4e3a5fc1a08e90d3e7a439b46b1e813e221621597171
|
||||
size 111488
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8466754a9aa189bea4e33c2c0375d8cd6eb0133ca68281ad245c89b2ee96684
|
||||
size 171268
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:80b0ded88cb72bff8c02c932faf83bda7b4e8c9b38722ad295c0d82f4a24768c
|
||||
size 182956
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c0c412fc1bc7a5c6d628bf4d6368f0dd9f4de7442841605bd4256858c735b43b
|
||||
size 113141
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4f8307e0e1ec76ded38824b060787899d8bd03963a1e56c5fc29ff755fb7f755
|
||||
size 129626
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2df3c053fc7476be99d6121e23c1fcca743a1ba4ed37cc1c545a28502ae63ca
|
||||
size 109413
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61432ef0fc35f38d0eb41c422fb18f5f45af51b68f20d9ebe15f14ddd2d46beb
|
||||
size 119120
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f470276995af0c846587e4c06af7159b9f57824b208592fcc580e9356d18ae19
|
||||
size 67332
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d79f6c9c32e9e878024572de6fb6b16807989f16468bb0fc7fc38c6a19ea38c4
|
||||
size 81912
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:456e6176b4b4ea0cc0339844b976f7f072974b8b917fac2d6d9b31fcf29b032c
|
||||
size 171531
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d198376610c2a9710e44171f5b5cf084ce03e624b4c89cc45b758b3e80cc14a
|
||||
size 190942
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6fd6c13f04ec391f2b1e6dfa574191140ee2ca024669e7a3383668bd36dcf9e1
|
||||
size 117393
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a830646b6fa078a8b41fb97edc503853c36b1ef1e87c33468a8d2dc2cc259903
|
||||
size 139977
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:21d96120db7f71a4eec79d50dd0bf5cc785dcff443a909221ecff87bd395c6a9
|
||||
size 156464
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:258d9c116eb0c54b60f27f16c430c932d70cda9a70c3c6fc83165dab4060aea1
|
||||
size 164393
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:218fccd9e9cd16bdca6343dc8f0caaf721dbbbde46ee071039af8791e8f4264a
|
||||
size 100586
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:97bdd9de56a6f0634edefe6dd6095dae022e41f280f3a86fdca770c16d269304
|
||||
size 109628
|
||||
Reference in New Issue
Block a user