Fix refreshing network state

This commit is contained in:
Arkadiusz Fal 2022-12-21 21:20:54 +01:00
parent 5de52e55f6
commit ff5893f8db

View File

@ -10,7 +10,7 @@ struct PlaybackStatsView: View {
mpvPlaybackStatRow("Hardware decoder".localized(), player.mpvBackend.hwDecoder)
mpvPlaybackStatRow("Dropped frames".localized(), String(player.mpvBackend.frameDropCount))
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)
#if os(tvOS)