mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 17:38:15 +00:00
Improve queue details loading
This commit is contained in:
@@ -39,6 +39,10 @@ struct PlayerQueueItem: Hashable, Identifiable, Defaults.Serializable {
|
||||
return duration - seconds <= 10
|
||||
}
|
||||
|
||||
var hasDetailsLoaded: Bool {
|
||||
!video.isNil
|
||||
}
|
||||
|
||||
func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(id)
|
||||
}
|
||||
|
Reference in New Issue
Block a user