Removed controls in CompactPosts
This commit is contained in:
parent
7319b87086
commit
e35565c246
@ -90,7 +90,7 @@ struct PostAttachment: View {
|
||||
} else if attachment.supportedType == .video {
|
||||
ZStack {
|
||||
if player != nil {
|
||||
VideoPlayer(player: player)
|
||||
NoControlsPlayerViewController(player: player!) // No controls outside of AttachmentView
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 15)
|
||||
.stroke(.gray.opacity(0.3), lineWidth: 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user