fix LibItem::is_in_continue_watching
@@ -75,14 +75,7 @@ impl LibItem {
}
}
pub fn is_in_continue_watching(&self) -> bool {
- let is_resumable = self.state.time_offset > 0;
-
- // having a Some for video_id and time_offset == 0 means it's set to this video as "next"
- let is_with_nextvid = self.state.time_watched == 0
- && self.state.video_id.is_some()
- && self.state.video_id.as_ref() != Some(&self.id);
-
- (!self.removed || self.temp) && (is_resumable || is_with_nextvid)
+ (!self.removed || self.temp) && self.state.time_offset > 0
}
}
