This commit is contained in:
JinJiangHuang
2026-03-01 18:40:03 +08:00
parent a89ce6eb69
commit 3f302f83b3
3 changed files with 14 additions and 5 deletions
+3 -1
View File
@@ -19,7 +19,7 @@ struct DetailView: View {
ScrollView {
VStack(spacing: 0) {
//
if viewModel.isPlaying, let url = viewModel.playUrl, !showFullScreen {
if viewModel.isPlaying, let url = viewModel.playUrl {
PlayerView(
urlString: url,
startPosition: viewModel.currentPlaybackSeconds(),
@@ -38,6 +38,8 @@ struct DetailView: View {
.onTapGesture(count: 2) {
openFullScreenPlayer()
}
.opacity(showFullScreen ? 0 : 1)
.allowsHitTesting(!showFullScreen)
}
//