mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-23 00:40:59 +00:00
Fix leading avatar incorrect position close #249
This commit is contained in:
parent
a0ef5048fa
commit
d9cf9ea59a
1 changed files with 29 additions and 23 deletions
|
@ -28,6 +28,11 @@ public struct StatusRowView: View {
|
|||
EmptyView()
|
||||
}
|
||||
} else {
|
||||
VStack(alignment: .leading) {
|
||||
if !viewModel.isCompact, theme.avatarPosition == .leading {
|
||||
reblogView
|
||||
replyView
|
||||
}
|
||||
HStack(alignment: .top, spacing: .statusColumnsSpacing) {
|
||||
if !viewModel.isCompact,
|
||||
theme.avatarPosition == .leading,
|
||||
|
@ -40,7 +45,7 @@ public struct StatusRowView: View {
|
|||
}
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
if !viewModel.isCompact {
|
||||
if !viewModel.isCompact, theme.avatarPosition == .top {
|
||||
reblogView
|
||||
replyView
|
||||
}
|
||||
|
@ -56,6 +61,7 @@ public struct StatusRowView: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
if reasons.isEmpty {
|
||||
viewModel.client = client
|
||||
|
|
Loading…
Reference in a new issue