mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix refreshing network state
This commit is contained in:
parent
5de52e55f6
commit
ff5893f8db
@ -10,7 +10,7 @@ struct PlaybackStatsView: View {
|
|||||||
mpvPlaybackStatRow("Hardware decoder".localized(), player.mpvBackend.hwDecoder)
|
mpvPlaybackStatRow("Hardware decoder".localized(), player.mpvBackend.hwDecoder)
|
||||||
mpvPlaybackStatRow("Dropped frames".localized(), String(player.mpvBackend.frameDropCount))
|
mpvPlaybackStatRow("Dropped frames".localized(), String(player.mpvBackend.frameDropCount))
|
||||||
mpvPlaybackStatRow("Stream FPS".localized(), player.mpvBackend.formattedOutputFps)
|
mpvPlaybackStatRow("Stream FPS".localized(), player.mpvBackend.formattedOutputFps)
|
||||||
mpvPlaybackStatRow("Cached time".localized(), String(format: "%.2fs", player.mpvBackend.cacheDuration))
|
mpvPlaybackStatRow("Cached time".localized(), String(format: "%.2fs", networkState.cacheDuration))
|
||||||
}
|
}
|
||||||
.padding(.top, 2)
|
.padding(.top, 2)
|
||||||
#if os(tvOS)
|
#if os(tvOS)
|
||||||
|
Loading…
Reference in New Issue
Block a user