Add missing preview case (space without name)
This commit is contained in:
parent
097e2db4f6
commit
09f4518eb7
1 changed files with 9 additions and 1 deletions
|
|
@ -18,7 +18,15 @@ open class SpaceStateProvider : PreviewParameterProvider<SpaceState> {
|
||||||
override val values: Sequence<SpaceState>
|
override val values: Sequence<SpaceState>
|
||||||
get() = sequenceOf(
|
get() = sequenceOf(
|
||||||
aSpaceState(),
|
aSpaceState(),
|
||||||
aSpaceState(hasMoreToLoad = true),
|
aSpaceState(
|
||||||
|
parentSpace = aSpaceRoom(
|
||||||
|
name = null,
|
||||||
|
numJoinedMembers = 5,
|
||||||
|
childrenCount = 10,
|
||||||
|
worldReadable = true,
|
||||||
|
),
|
||||||
|
hasMoreToLoad = true,
|
||||||
|
),
|
||||||
aSpaceState(
|
aSpaceState(
|
||||||
hasMoreToLoad = true,
|
hasMoreToLoad = true,
|
||||||
children = aListOfSpaceRooms(),
|
children = aListOfSpaceRooms(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue