1
0
mirror of https://github.com/yattee/yattee.git synced 2025-01-10 11:30:32 +05:30

Remove old unneeded patch

This commit is contained in:
Arkadiusz Fal 2022-06-07 23:28:02 +02:00
parent da78bac205
commit 4383909a1f

View File

@ -275,19 +275,6 @@ struct VideoPlayerView: View {
PlayerControls(player: player, thumbnails: thumbnails)
}
#if os(iOS)
.onAppear {
// ugly patch for #78
guard player.activeBackend == .mpv else {
return
}
player.activeBackend = .appleAVPlayer
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
player.activeBackend = .mpv
}
}
#endif
}
var fullScreenLayout: Bool {