Align reblog / reply view in leading mode Fix #1186

This commit is contained in:
Thomas Ricouard 2023-03-07 07:10:57 +01:00
parent 62fd7bae12
commit 58957c779a

View file

@ -35,9 +35,12 @@ public struct StatusRowView: View {
} }
} else { } else {
if !isCompact, theme.avatarPosition == .leading { if !isCompact, theme.avatarPosition == .leading {
Group {
StatusRowReblogView(viewModel: viewModel) StatusRowReblogView(viewModel: viewModel)
StatusRowReplyView(viewModel: viewModel) StatusRowReplyView(viewModel: viewModel)
} }
.padding(.leading, AvatarView.Size.status.size.width + .statusColumnsSpacing)
}
HStack(alignment: .top, spacing: .statusColumnsSpacing) { HStack(alignment: .top, spacing: .statusColumnsSpacing) {
if !isCompact, if !isCompact,
theme.avatarPosition == .leading theme.avatarPosition == .leading