mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-23 08:50:58 +00:00
DM: Add vertical padding between messages
This commit is contained in:
parent
2b3bd41928
commit
4705500dc4
1 changed files with 3 additions and 1 deletions
|
@ -39,6 +39,7 @@ public struct ConversationDetailView: View {
|
||||||
ForEach(viewModel.messages) { message in
|
ForEach(viewModel.messages) { message in
|
||||||
ConversationMessageView(message: message,
|
ConversationMessageView(message: message,
|
||||||
conversation: viewModel.conversation)
|
conversation: viewModel.conversation)
|
||||||
|
.padding(.vertical, 4)
|
||||||
.id(message.id)
|
.id(message.id)
|
||||||
}
|
}
|
||||||
bottomAnchorView
|
bottomAnchorView
|
||||||
|
@ -99,6 +100,7 @@ public struct ConversationDetailView: View {
|
||||||
ConversationMessageView(message: message, conversation: viewModel.conversation)
|
ConversationMessageView(message: message, conversation: viewModel.conversation)
|
||||||
.redacted(reason: .placeholder)
|
.redacted(reason: .placeholder)
|
||||||
.shimmering()
|
.shimmering()
|
||||||
|
.padding(.vertical, 4)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue