Refactor project
This commit is contained in:
1 parent
9c1a2b987b
commit
2f2516eade
115 files changed
+12522
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import "pkg:/source/roku_modules/rokupromise/Promise.brs"
|
||||
|
||||
function Init()
|
||||
createTaskPromise("SettingsScreenTask", invalid).then(function(task as object)
|
||||
m.top.url = task.output.url
|
||||
end function)
|
||||
end function
|
||||
|
||||
function OnUrlSet()
|
||||
url = m.top.url
|
||||
|
||||
qrCode = m.top.findNode("SettingsQRPoster")
|
||||
qrCode.text = url
|
||||
|
||||
urlLabel = m.top.findNode("urlLabel")
|
||||
urlLabel.text = url
|
||||
end function
|
||||
Reference in new issue
Block a user