mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Minor fixes
This commit is contained in:
parent
d7735cf59d
commit
ccd9c4eb2a
@ -10,7 +10,7 @@ struct NetworkState: View {
|
||||
}
|
||||
|
||||
var visible: Bool {
|
||||
player.isPlaying && (model.pausedForCache || player.isSeeking)
|
||||
player.isPlaying && ((player.activeBackend == .mpv && model.pausedForCache) || player.isSeeking)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -97,8 +97,8 @@ struct VideoPlayerView: View {
|
||||
}
|
||||
#if os(iOS)
|
||||
.frame(width: playerWidth.isNil ? nil : Double(playerWidth!), height: playerHeight.isNil ? nil : Double(playerHeight!))
|
||||
#endif
|
||||
.ignoresSafeArea(.all, edges: playerEdgesIgnoringSafeArea)
|
||||
#endif
|
||||
.onChange(of: geometry.size) { size in
|
||||
self.playerSize = size
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user