mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 10:11:00 +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
|
||||
ConversationMessageView(message: message,
|
||||
conversation: viewModel.conversation)
|
||||
.padding(.vertical, 4)
|
||||
.id(message.id)
|
||||
}
|
||||
bottomAnchorView
|
||||
|
@ -99,6 +100,7 @@ public struct ConversationDetailView: View {
|
|||
ConversationMessageView(message: message, conversation: viewModel.conversation)
|
||||
.redacted(reason: .placeholder)
|
||||
.shimmering()
|
||||
.padding(.vertical, 4)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue