mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-21 18:43:22 +00:00
ios: draw New chat's group row avatar with ChatInfoImage
It drew by hand what ChatInfoImage draws for a group (its image, or the group's icon), which the Kotlin row uses too. Review R1-2, run 008-dirsearch-known-chats
This commit is contained in:
@@ -174,7 +174,7 @@ struct ContactListNavLink: View {
|
||||
}
|
||||
} label: {
|
||||
chatPreview(
|
||||
ProfileImage(imageStr: groupInfo.image, icon: Image(systemName: groupInfo.chatIconName), size: 30),
|
||||
ChatInfoImage(chat: chat, size: 30),
|
||||
NameWithBadge(Text(chat.chatInfo.chatViewName).foregroundColor(theme.colors.onBackground), chat.chatInfo.nameBadge)
|
||||
.lineLimit(1)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user