mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-05-20 01:08:18 +00:00
./ add padding inside StatusRowMediaPreviewView
This commit is contained in:
parent
c6b44b23ce
commit
34124254e0
|
@ -54,6 +54,7 @@ public struct StatusRowMediaPreviewView: View {
|
||||||
: CGSize(width: imageMaxHeight, height: imageMaxHeight),
|
: CGSize(width: imageMaxHeight, height: imageMaxHeight),
|
||||||
sensitive: sensitive
|
sensitive: sensitive
|
||||||
)
|
)
|
||||||
|
.padding(.horizontal, .layoutPadding)
|
||||||
.accessibilityElement(children: .ignore)
|
.accessibilityElement(children: .ignore)
|
||||||
.accessibilityLabel(Self.accessibilityLabel(for: attachments[0]))
|
.accessibilityLabel(Self.accessibilityLabel(for: attachments[0]))
|
||||||
.accessibilityAddTraits([.isButton, .isImage])
|
.accessibilityAddTraits([.isButton, .isImage])
|
||||||
|
@ -66,9 +67,11 @@ public struct StatusRowMediaPreviewView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.bottom, scrollBottomPadding)
|
.padding(.bottom, scrollBottomPadding)
|
||||||
|
.padding(.horizontal, .layoutPadding)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.padding(.horizontal, -1 * .layoutPadding)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
|
|
Loading…
Reference in a new issue