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:
1 parent
1b915a7f9a
commit
2870a45ee6
3 files changed
+7
-7
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user