mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 17:38:15 +00:00
Fix respecting restart playing videos setting
This commit is contained in:
@@ -32,6 +32,8 @@ struct PlayerQueueItem: Hashable, Identifiable, Defaults.Serializable {
|
||||
}
|
||||
|
||||
var shouldRestartPlaying: Bool {
|
||||
guard Defaults[.watchedVideoPlayNowBehavior] == .continue else { return true }
|
||||
|
||||
guard let seconds = playbackTime?.seconds else {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user