Merge pull request #758 from alanazar/patch-2

Update TVShowDetails.brs
This commit is contained in:
Jimi 2022-08-27 13:32:46 -06:00 committed by GitHub
commit dc7cfe7f39
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