Tweaks to remote screen UI
This commit is contained in:
1 parent
afe281c094
commit
14d3e38aeb
3 files changed
+9
No files matched your search
@@ -19,6 +19,7 @@ function Init()
|
||||
m.linkWithTvPanel = m.top.findNode("LinkWithTvPanel")
|
||||
|
||||
m.wifiNameLabel = m.top.findNode("WifiNameLabel")
|
||||
m.wifiInstructionWithDeviceNameLabel = m.top.findNode("WifiInstructionWithDeviceNameLabel")
|
||||
m.linkCodeLabel = m.top.findNode("LinkCodeLabel")
|
||||
end function
|
||||
|
||||
@@ -128,6 +129,8 @@ function OnLinkWithWifiPanelVisibleChanged() as void
|
||||
else
|
||||
m.wifiNameLabel.text = "N/A"
|
||||
end if
|
||||
|
||||
m.wifiInstructionWithDeviceNameLabel.text = `Tap the cast icon and select "${m.loungeService.deviceName}"`
|
||||
end function
|
||||
|
||||
function OnLinkWithTvPanelVisibleChanged()
|
||||
@@ -147,6 +150,7 @@ function GeneratePairingCode()
|
||||
m.linkCodeTask.cancel = true
|
||||
end if
|
||||
|
||||
m.linkCodeLabel.text = "Loading..."
|
||||
m.linkCodeTask = AsyncTask.Start(Tasks.LoungeGenerateManualPairingCodeTask, {
|
||||
loungeService: m.loungeService
|
||||
loungeToken: m.loungeService.loungeToken
|
||||
|
||||
Reference in new issue
Block a user