mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Minor player fix
This commit is contained in:
parent
2583be9401
commit
ae144ea82f
@ -316,6 +316,8 @@ struct VideoPlayerView: View {
|
||||
}
|
||||
.id(player.currentVideo?.cacheKey)
|
||||
.transition(.opacity)
|
||||
} else {
|
||||
VStack {}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@ -392,6 +394,8 @@ struct VideoPlayerView: View {
|
||||
.background(colorScheme == .dark ? Color.black : Color.white)
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
VStack {}
|
||||
}
|
||||
}
|
||||
.onChange(of: fullScreenPlayer) { newValue in
|
||||
|
Loading…
Reference in New Issue
Block a user