fix test for voice call button

This commit is contained in:
Valere 2026-03-05 10:09:10 +01:00
parent 5d2a776f58
commit b51a1a7c82
7 changed files with 24 additions and 8 deletions

View file

@ -271,7 +271,6 @@ class MessagesPresenter(
return MessagesState(
roomId = room.roomId,
isDm = roomInfo.isDm,
roomName = roomInfo.name,
roomAvatar = roomAvatar,
heroes = heroes,

View file

@ -32,7 +32,6 @@ import kotlinx.collections.immutable.ImmutableList
data class MessagesState(
val roomId: RoomId,
val roomName: String?,
val isDm: Boolean,
val roomAvatar: AvatarData,
val heroes: ImmutableList<AvatarData>,
val userEventPermissions: UserEventPermissions,

View file

@ -126,7 +126,6 @@ fun aMessagesState(
) = MessagesState(
roomId = RoomId("!id:domain"),
roomName = roomName,
isDm = false,
roomAvatar = roomAvatar,
heroes = persistentListOf(),
userEventPermissions = userEventPermissions,

View file

@ -76,7 +76,7 @@ private fun StandByCallMenuItem(
) {
Icon(
imageVector = CompoundIcons.VoiceCallSolid(),
contentDescription = stringResource(CommonStrings.a11y_start_call),
contentDescription = stringResource(CommonStrings.a11y_start_voice_call),
)
}
}