Skip to content

Commit

Permalink
Don't allow Roku's component reuse to mess up library fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
1hitsong committed Nov 23, 2023
1 parent a5af255 commit 06af8b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/home/HomeItem.bs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ sub itemContentChanged()

' Format the Data based on the type of Home Data
if itemData.type = "CollectionFolder" or itemData.type = "UserView" or itemData.type = "Channel"
m.itemText.font.size = 35
m.itemText.height = 64
m.itemText.horizAlign = "center"
m.itemText.vertAlign = "bottom"
m.itemText.text = itemData.name
m.itemPoster.uri = itemData.widePosterURL
return
Expand Down

0 comments on commit 06af8b2

Please sign in to comment.