mirror of
https://github.com/yattee/yattee.git
synced 2025-10-14 03:20:37 +00:00
Use cache for loading player queue and history
This commit is contained in:
@@ -71,7 +71,10 @@ extension Watch {
|
||||
}
|
||||
|
||||
var finished: Bool {
|
||||
progress >= Double(watchedThreshold)
|
||||
guard videoDuration.isFinite, !videoDuration.isZero else {
|
||||
return true
|
||||
}
|
||||
return progress >= Double(watchedThreshold)
|
||||
}
|
||||
|
||||
var watchedAtString: String? {
|
||||
|
Reference in New Issue
Block a user