mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 16:25:21 +00:00
image size
This commit is contained in:
@@ -27,8 +27,7 @@ struct ImageMessageRow: View {
|
|||||||
Image(uiImage: uiImage)
|
Image(uiImage: uiImage)
|
||||||
.resizable()
|
.resizable()
|
||||||
.aspectRatio(contentMode: .fit)
|
.aspectRatio(contentMode: .fit)
|
||||||
.frame(maxWidth: 200, maxHeight: 200, alignment: .topLeading)
|
.frame(maxWidth: 300, maxHeight: 400, alignment: .topLeading)
|
||||||
.clipShape(RoundedRectangle(cornerRadius: 12))
|
|
||||||
Spacer(minLength: 0)
|
Spacer(minLength: 0)
|
||||||
}
|
}
|
||||||
if message.isPrivate && message.sender == viewModel.nickname,
|
if message.isPrivate && message.sender == viewModel.nickname,
|
||||||
|
|||||||
Reference in New Issue
Block a user