video-player: add tap gesture to prevent nav

This commit is contained in:
William Casarin
2023-05-30 17:58:48 -07:00
parent 80fac1903e
commit a1753b2c24
2 changed files with 2 additions and 10 deletions
-3
View File
@@ -28,9 +28,6 @@ struct DamusVideoPlayer: View {
.foregroundColor(.black)
Image(systemName: mute_icon)
.onTapGesture {
model.muted = !model.muted
}
.padding()
.foregroundColor(.white)
}