2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

A little more space between avatar row and author text, to avoid the buttons feeling crowded

Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
This commit is contained in:
shannon 2025-02-13 09:19:26 -05:00
parent d411035930
commit 408caf05a1

View File

@ -485,13 +485,13 @@ struct NotificationRowView: View {
}
// VSTACK OF HEADER AND CONTENT COMPONENT VIEWS
VStack(spacing: 2) {
VStack(spacing: 4) {
ForEach(viewModel.headerComponents) {
componentView($0)
}
if !viewModel.contentComponents.isEmpty {
Spacer().frame(height: 4)
Spacer().frame(height: 2)
}
ForEach(viewModel.contentComponents) {