fix test for voice call button
This commit is contained in:
parent
5d2a776f58
commit
b51a1a7c82
7 changed files with 24 additions and 8 deletions
|
|
@ -271,7 +271,6 @@ class MessagesPresenter(
|
|||
|
||||
return MessagesState(
|
||||
roomId = room.roomId,
|
||||
isDm = roomInfo.isDm,
|
||||
roomName = roomInfo.name,
|
||||
roomAvatar = roomAvatar,
|
||||
heroes = heroes,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -126,7 +126,6 @@ fun aMessagesState(
|
|||
) = MessagesState(
|
||||
roomId = RoomId("!id:domain"),
|
||||
roomName = roomName,
|
||||
isDm = false,
|
||||
roomAvatar = roomAvatar,
|
||||
heroes = persistentListOf(),
|
||||
userEventPermissions = userEventPermissions,
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ private fun StandByCallMenuItem(
|
|||
) {
|
||||
Icon(
|
||||
imageVector = CompoundIcons.VoiceCallSolid(),
|
||||
contentDescription = stringResource(CommonStrings.a11y_start_call),
|
||||
contentDescription = stringResource(CommonStrings.a11y_start_voice_call),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue