From 2a5c3990e645dce91a643d4f27daa46781d64dba Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 19 Aug 2025 09:48:04 +0200 Subject: [PATCH] Improve preview of SelectedRoom. --- .../libraries/matrix/ui/components/SelectRoomInfoProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/matrixui/src/main/kotlin/io/element/android/libraries/matrix/ui/components/SelectRoomInfoProvider.kt b/libraries/matrixui/src/main/kotlin/io/element/android/libraries/matrix/ui/components/SelectRoomInfoProvider.kt index f6ad30fae1..04562eb13c 100644 --- a/libraries/matrixui/src/main/kotlin/io/element/android/libraries/matrix/ui/components/SelectRoomInfoProvider.kt +++ b/libraries/matrixui/src/main/kotlin/io/element/android/libraries/matrix/ui/components/SelectRoomInfoProvider.kt @@ -20,7 +20,7 @@ class SelectRoomInfoProvider : PreviewParameterProvider { get() = sequenceOf( aSelectRoomInfo(roomId = RoomId("!room1:domain")), aSelectRoomInfo(roomId = RoomId("!room2:domain"), name = "Room with a name"), - aSelectRoomInfo(roomId = RoomId("!room3:domain"), name = "Room with a name and alias", canonicalAlias = RoomAlias("#alias:domain")), + aSelectRoomInfo(roomId = RoomId("!room3:domain"), name = "Room with a name and avatar", avatarUrl = "anUrl"), ) }