showsIndicator in a better place
This commit is contained in:
parent
951b60a846
commit
6894abb4bf
|
@ -143,14 +143,13 @@ struct CompactPostView: View {
|
|||
|
||||
if !status.mediaAttachments.isEmpty {
|
||||
if status.mediaAttachments.count > 1 {
|
||||
ScrollView(.horizontal) {
|
||||
ScrollView(.horizontal, showsIndicators: false) {
|
||||
HStack(alignment: .firstTextBaseline, spacing: 5) {
|
||||
ForEach(status.mediaAttachments) { attachment in
|
||||
PostAttachment(attachment: attachment)
|
||||
}
|
||||
}
|
||||
}
|
||||
.scrollIndicators(.hidden)
|
||||
.scrollClipDisabled()
|
||||
} else {
|
||||
PostAttachment(attachment: status.mediaAttachments.first!)
|
||||
|
|
Loading…
Reference in New Issue