Add officialRating back to MovieDetails.brs

This commit is contained in:
candry7731 2022-12-07 12:47:39 -06:00
parent 26a12256b4
commit 04a73c25f4

View File

@ -57,6 +57,12 @@ sub itemContentChanged()
setFieldText("releaseYear", itemData.productionYear)
setFieldText("overview", itemData.overview)
if itemData.officialRating <> invalid
setFieldText("officialRating", itemData.officialRating)
else
m.top.findNode("infoGroup").removeChild(m.top.findNode("officialRating"))
end if
if itemData.communityRating <> invalid
setFieldText("communityRating", int(itemData.communityRating * 10) / 10)
m.top.findNode("star").visible = "true"