Added subscriber count in the channel page

This commit is contained in:
Brahim Hadriche committed 2024-03-07 23:12:35 -05:00
1 parent 15841cf5bf
commit 9315fa6cf7
4 files changed
+37 -3

No files matched your search

@@ -16,6 +16,7 @@ function Init()
m.banner = m.top.findNode("banner")
m.thumbnail = m.top.findNode("thumbnail")
m.authorLabel = m.top.findNode("authorLabel")
m.subCountLabel = m.top.findNode("subCountLabel")
m.subscribeButton = m.top.findNode("subscribeButton")
m.rowList = m.top.FindNode("rowList")
m.rowList.focusable = true
@@ -60,6 +61,7 @@ function OnContentSet() as void
' NOTE: "_author" not "author". See PlaylistContentNode.xml for explanation.
m.authorLabel.text = content._author
m.subCountLabel.text = content.subCountText
m.banner.uri = content.banner
if StringUtils.IsNullOrEmpty(content.thumbnail)
m.thumbnail.uri = ""