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,
!viewModel.forceAutoPlay,
!isFullScreen,
!viewModel.isPlaying {
!viewModel.isPlaying,
!isCompact {
Button(action: {
viewModel.play()
}, label: {