|
|
@ -309,15 +309,17 @@ struct MessageInfoView: View {
|
|
|
|
profileIcon: (messageViewModel.isSenderOpenGroupModerator ? .crown : .none)
|
|
|
|
profileIcon: (messageViewModel.isSenderOpenGroupModerator ? .crown : .none)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let size: ProfilePictureView.Size = .list
|
|
|
|
|
|
|
|
|
|
|
|
if let info: ProfilePictureView.Info = info {
|
|
|
|
if let info: ProfilePictureView.Info = info {
|
|
|
|
ProfilePictureSwiftUI(
|
|
|
|
ProfilePictureSwiftUI(
|
|
|
|
size: .list,
|
|
|
|
size: size,
|
|
|
|
info: info,
|
|
|
|
info: info,
|
|
|
|
additionalInfo: additionalInfo
|
|
|
|
additionalInfo: additionalInfo
|
|
|
|
)
|
|
|
|
)
|
|
|
|
.frame(
|
|
|
|
.frame(
|
|
|
|
width: 46,
|
|
|
|
width: size.viewSize,
|
|
|
|
height: 46,
|
|
|
|
height: size.viewSize,
|
|
|
|
alignment: .topLeading
|
|
|
|
alignment: .topLeading
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|