Prevent ratings from disappearing

This commit is contained in:
1hitsong 2022-12-20 07:22:59 -05:00
parent 946a33e8b3
commit 277f2cb137

View File

@ -52,13 +52,11 @@ sub itemContentChanged()
end if
end if
if itemData.communityRating <> invalid
if isValid(itemData.communityRating)
m.top.findNode("star").visible = true
m.top.findNode("communityRating").text = str(int(itemData.communityRating * 10) / 10)
else
if isValid(m.rating)
m.infoBar.removeChild(m.rating)
end if
m.top.findNode("star").visible = false
end if
videoIdx = invalid