diff --git a/apps/ios/Shared/Views/ChatList/DirectorySearchView.swift b/apps/ios/Shared/Views/ChatList/DirectorySearchView.swift index 931389c999..d17888690c 100644 --- a/apps/ios/Shared/Views/ChatList/DirectorySearchView.swift +++ b/apps/ios/Shared/Views/ChatList/DirectorySearchView.swift @@ -238,7 +238,7 @@ struct DirectorySearchRow: View { HStack(spacing: 8) { ProfileImage( imageStr: entry.image, - iconName: isChannel ? "antenna.radiowaves.left.and.right.circle.fill" : "person.2.circle.fill", + icon: Image(systemName: isChannel ? "antenna.radiowaves.left.and.right.circle.fill" : "person.2.circle.fill"), size: 42 ) VStack(alignment: .leading, spacing: 2) { @@ -289,7 +289,7 @@ struct NameSearchRow: View { var body: some View { HStack(spacing: 8) { - ProfileImage(imageStr: result.image, iconName: result.iconName, size: 42) + ProfileImage(imageStr: result.image, icon: Image(systemName: result.iconName), size: 42) VStack(alignment: .leading, spacing: 2) { if let profileName = result.profileName { (Text(profileName).fontWeight(.bold) + Text(verbatim: " (\(result.simplexName))").foregroundColor(theme.colors.secondary)) diff --git a/apps/ios/Shared/Views/Contacts/ContactListNavLink.swift b/apps/ios/Shared/Views/Contacts/ContactListNavLink.swift index 80d8960e03..d77e0a05e1 100644 --- a/apps/ios/Shared/Views/Contacts/ContactListNavLink.swift +++ b/apps/ios/Shared/Views/Contacts/ContactListNavLink.swift @@ -174,7 +174,7 @@ struct ContactListNavLink: View { } } label: { chatPreview( - ProfileImage(imageStr: groupInfo.image, iconName: groupInfo.chatIconName, size: 30), + ProfileImage(imageStr: groupInfo.image, icon: Image(systemName: groupInfo.chatIconName), size: 30), NameWithBadge(Text(chat.chatInfo.chatViewName).foregroundColor(theme.colors.onBackground), chat.chatInfo.nameBadge) .lineLimit(1) )