Fixed another bug with properly showing the right colors for downloading files. Accidentally named the download field id instead of movie_id

This commit is contained in:
2023-08-08 10:50:05 -06:00
parent 1b915a7f9a
commit 2870a45ee6
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ fn determine_row_style(downloads_vec: &[DownloadRecord], movie: &Movie) -> Style
if !movie.has_file {
if let Some(download) = downloads_vec
.iter()
.find(|&download| download.id == movie.id)
.find(|&download| download.movie_id == movie.id)
{
if download.status == "downloading" {
return style_warning();