No play button in video compact mode

This commit is contained in:
Thomas Ricouard 2024-01-07 16:33:20 +01:00
parent d378341914
commit 71d12aec15

View file

@ -114,7 +114,8 @@ public struct MediaUIAttachmentVideoView: View {
if !preferences.autoPlayVideo, if !preferences.autoPlayVideo,
!viewModel.forceAutoPlay, !viewModel.forceAutoPlay,
!isFullScreen, !isFullScreen,
!viewModel.isPlaying { !viewModel.isPlaying,
!isCompact {
Button(action: { Button(action: {
viewModel.play() viewModel.play()
}, label: { }, label: {