Skip to content

Commit 2a5c399

Browse files
committed
Improve preview of SelectedRoom.
1 parent 79c38fb commit 2a5c399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/matrixui/src/main/kotlin/io/element/android/libraries/matrix/ui/components/SelectRoomInfoProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class SelectRoomInfoProvider : PreviewParameterProvider<SelectRoomInfo> {
2020
get() = sequenceOf(
2121
aSelectRoomInfo(roomId = RoomId("!room1:domain")),
2222
aSelectRoomInfo(roomId = RoomId("!room2:domain"), name = "Room with a name"),
23-
aSelectRoomInfo(roomId = RoomId("!room3:domain"), name = "Room with a name and alias", canonicalAlias = RoomAlias("#alias:domain")),
23+
aSelectRoomInfo(roomId = RoomId("!room3:domain"), name = "Room with a name and avatar", avatarUrl = "anUrl"),
2424
)
2525
}
2626

0 commit comments

Comments
 (0)