Commit 667fd8ef authored by Nate Graham's avatar Nate Graham
Browse files

Don't let rating stars take up space for unrated tracks

Thr favorite style rating star was correctly set to hide itself for
unrated tracks, but the 1-5 star widget was not, so it always consumed
space in the layout and could cause track titles to be elided too early.

BUG: 448016
FIXED-IN: 21.12.2
parent a934a1e3
......@@ -329,7 +329,7 @@ FocusScope {
// ratings (desktop)
RatingStar {
id: ratingWidget
visible: !Kirigami.Settings.isMobile && !ElisaApplication.useFavoriteStyleRatings
visible: !Kirigami.Settings.isMobile && !ElisaApplication.useFavoriteStyleRatings && rating > 0
readOnly: false
starRating: rating
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment