mirror of
https://github.com/jellyfin/Swiftfin.git
synced 2024-11-27 08:10:23 +00:00
Change condition of VideoPlayer's ToggleOverlay (#515)
This commit is contained in:
parent
46337961a8
commit
70b75df110
@ -728,9 +728,7 @@ extension VLCPlayerViewController {
|
||||
}
|
||||
|
||||
private func toggleOverlay() {
|
||||
guard let overlayHostingController = currentOverlayHostingController else { return }
|
||||
|
||||
if overlayHostingController.view.alpha < 1 {
|
||||
if viewModel.isHiddenOverlay {
|
||||
showOverlay()
|
||||
} else {
|
||||
hideOverlay()
|
||||
|
Loading…
Reference in New Issue
Block a user