Open views (#179)

* adjust todo

* Open view
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2023-10-24 17:21:48 -04:00
1 parent 8975861615
commit 549913ef7d
14 files changed
+129 -20

No files matched your search

@@ -1,7 +1,10 @@
namespace ChannelUtils
function Open(contentNode as object)
function Open(contentNode as object, appController = invalid as object)
channelView = CreateObject("roSGNode", "ChannelView")
m.appController@.PushScreen(channelView)
if appController = invalid
appController = m.appController
end if
appController@.PushScreen(channelView)
channelView@.BindNode(invalid)
channelView.content = contentNode
end function