Add playlist updated field
This commit is contained in:
1 parent
b7fe0feb94
commit
ae82ad4b28
8 files changed
+68
-16
No files matched your search
@@ -3,6 +3,7 @@ import "pkg:/source/utils/Types.bs"
|
||||
function Init()
|
||||
m.titleLabel = m.top.FindNode("titleLabel")
|
||||
m.authorLabel = m.top.FindNode("authorLabel")
|
||||
m.updatedLabel = m.top.FindNode("updatedLabel")
|
||||
m.videoCountRect = m.top.FindNode("videoCountRect")
|
||||
m.videoCountLabel = m.top.FindNode("videoCountLabel")
|
||||
m.thumbnail = m.top.FindNode("thumbnail")
|
||||
@@ -19,6 +20,7 @@ function OnContentSet() as void
|
||||
m.titleLabel.text = content.title
|
||||
' NOTE: "_author" not "author". See PlaylistContentNode.xml for explanation.
|
||||
m.authorLabel.text = content._author
|
||||
m.updatedLabel.text = content.updatedText
|
||||
|
||||
m.thumbnail.uri = content.thumbnail
|
||||
|
||||
|
||||
Reference in new issue
Block a user