mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 22:13:41 +00:00
Remove old unneeded patch
This commit is contained in:
parent
89713d815a
commit
fe8ec63408
@ -275,19 +275,6 @@ struct VideoPlayerView: View {
|
|||||||
|
|
||||||
PlayerControls(player: player, thumbnails: thumbnails)
|
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 {
|
var fullScreenLayout: Bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user