Skip to content

Commit

Permalink
fix(MediaList): start date being overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
axiel7 committed Jul 12, 2024
1 parent 2a9024f commit 9b26903
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class UserMediaListViewModel(
watchedEpisodes = newProgress,
status = newStatus,
startDate = nowDate.takeIf {
isPlanning || item.listStatus?.progress.isGreaterThanZero()
isPlanning || !item.listStatus?.progress.isGreaterThanZero()
},
endDate = nowDate.takeIf { isCompleted }
)
Expand Down

0 comments on commit 9b26903

Please sign in to comment.