Update TVShowDetails.brs

This commit is contained in:
alanazar 2022-08-27 19:31:15 +04:00 committed by GitHub
parent 1893121fdf
commit ba178e580a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,7 @@ sub itemContentChanged()
setFieldText("officialRating", itemData.officialRating)
if itemData.communityRating <> invalid
m.top.findNode("star").visible = true
setFieldText("communityRating", itemData.communityRating)
' m.top.findNode("communityRating").text = str(int(itemData.communityRating*10)/10)
setFieldText("communityRating", int(itemData.communityRating * 10) / 10)
else
m.top.findNode("star").visible = false
end if