Updated library colors to match the web UI

This commit is contained in:
2024-03-16 14:40:57 -06:00
parent a2e60470af
commit 6bdefa6ba5
4 changed files with 124 additions and 6 deletions
+11 -3
View File
@@ -213,7 +213,7 @@ fn decorate_with_row_style<'a>(
.find(|&download| download.movie_id == movie.id)
{
if download.status == "downloading" {
return row.warning();
return row.downloading();
}
if download.status == "completed" {
@@ -221,13 +221,21 @@ fn decorate_with_row_style<'a>(
}
}
return row.failure();
if !movie.monitored {
return row.unmonitored_missing();
}
if movie.status != "released" {
return row.unreleased();
}
return row.missing();
}
if !movie.monitored {
row.unmonitored()
} else {
row.success()
row.downloaded()
}
}