Rename avatarURLString to avatarUrl

This commit is contained in:
Benoit Marty 2024-01-19 15:56:51 +01:00
parent 4c86126eae
commit d1c7520065
12 changed files with 20 additions and 20 deletions

View file

@ -60,7 +60,7 @@ fun SelectedRoom(
Column(
horizontalAlignment = Alignment.CenterHorizontally,
) {
Avatar(AvatarData(roomSummary.roomId.value, roomSummary.name, roomSummary.avatarURLString, AvatarSize.SelectedRoom))
Avatar(AvatarData(roomSummary.roomId.value, roomSummary.name, roomSummary.avatarUrl, AvatarSize.SelectedRoom))
Text(
text = roomSummary.name,
overflow = TextOverflow.Ellipsis,
@ -99,7 +99,7 @@ internal fun SelectedRoomPreview() = ElementPreview {
name = "roomName",
canonicalAlias = null,
isDirect = true,
avatarURLString = null,
avatarUrl = null,
lastMessage = null,
lastMessageTimestamp = null,
unreadNotificationCount = 0,