Skip to content

Commit

Permalink
feat(continue_watching): return watched state
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Jun 14, 2024
1 parent 11b2b84 commit 6b462a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/model/serialize_continue_watching_preview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ mod model {
pub poster: &'a Option<Url>,
pub poster_shape: &'a PosterShape,
pub progress: f64,
pub watched: bool,
pub deep_links: LibraryItemDeepLinks,
pub state: LibraryItemState<'a>,
}
Expand Down Expand Up @@ -170,6 +171,7 @@ mod model {
_ => &library_item.poster_shape,
},
progress: library_item.progress(),
watched: library_item.watched(),
deep_links: LibraryItemDeepLinks::from((
library_item,
streams_item,
Expand Down

0 comments on commit 6b462a2

Please sign in to comment.