knock requests : update icon

This commit is contained in:
ganfra 2024-12-06 13:49:14 +01:00
parent 84299fc37a
commit e744ff00ba
2 changed files with 2 additions and 2 deletions

View file

@ -383,7 +383,7 @@ private fun KnockRequestsEmptyList(
IconTitleSubtitleMolecule(
title = stringResource(R.string.screen_knock_requests_list_empty_state_title),
subTitle = stringResource(R.string.screen_knock_requests_list_empty_state_description),
iconStyle = BigIcon.Style.Default(CompoundIcons.Pin()),
iconStyle = BigIcon.Style.Default(CompoundIcons.AskToJoin()),
)
}
}

View file

@ -242,7 +242,7 @@ fun RoomDetailsView(
private fun KnockRequestsItem(knockRequestsCount: Int?, onKnockRequestsClick: () -> Unit) {
ListItem(
headlineContent = { Text(stringResource(R.string.screen_room_details_requests_to_join_title)) },
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Notifications())),
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.AskToJoin())),
trailingContent = if (knockRequestsCount == null || knockRequestsCount == 0) {
null
} else {