Skip to content

Commit

Permalink
make positive, change wording
Browse files Browse the repository at this point in the history
  • Loading branch information
photonconvergence committed Apr 27, 2024
1 parent 96b00c7 commit cfa4866
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/ItemGrid/MovieLibraryView.bs
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ sub onItemFocused()

m.star.uri = "pkg:/images/sharp_star_white_18dp.png"

if m.global.session.user.settings["ui.movies.disableRatings"] = false
if m.global.session.user.settings["ui.movies.showRatings"] = true
if isValid(itemData.communityRating)
setFieldText("communityRating", int(itemData.communityRating * 10) / 10)
m.communityRatingGroup.visible = true
Expand Down
2 changes: 1 addition & 1 deletion components/movies/MovieDetails.bs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sub itemContentChanged()
m.infoGroup.removeChild(m.top.findNode("officialRating"))
end if

if m.global.session.user.settings["ui.movies.disableRatings"] = false
if m.global.session.user.settings["ui.movies.showRatings"] = true
if isValid(itemData.communityRating)
setFieldText("communityRating", int(itemData.communityRating * 10) / 10)
else
Expand Down
8 changes: 4 additions & 4 deletions settings/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,11 @@
]
},
{
"title": "Disable Community and Critical Ratings",
"description": "Hide the star, community rating, tomato, and critical rating for Movies.",
"settingName": "ui.movies.disableRatings",
"title": "Community and Critical Ratings",
"description": "Show ratings for how good a movie is.",
"settingName": "ui.movies.showRatings",
"type": "bool",
"default": "false"
"default": "true"
}
]
},
Expand Down

0 comments on commit cfa4866

Please sign in to comment.