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,7 +39,8 @@ 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)
|
||||||
.id(message.id)
|
.padding(.vertical, 4)
|
||||||
|
.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