Update MovieDetails.brs

Rating on Movies are showing as 3 decimal points instead of 1.
I used the same format to do the calculation to 1 decimal point as in the TV shows
This commit is contained in:
alanazar 2022-08-27 19:07:45 +04:00 committed by GitHub
parent 1893121fdf
commit 7bf1a8cd05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ sub itemContentChanged()
if itemData.communityRating <> invalid
setFieldText("communityRating", itemData.communityRating)
m.top.findNode("communityRating").text = str(int(itemData.communityRating * 10) / 10)
else
' hide the star icon
m.top.findNode("communityRatingGroup").visible = false