Tweaks to remote screen UI

This commit is contained in:
Brahim Hadriche committed 2024-02-23 22:21:44 -05:00
1 parent afe281c094
commit 14d3e38aeb
3 files changed
+9

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
- Nothing worth mentioning yet.
## [0.20.1] - 2024-02-23
### Fixed
@@ -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
@@ -91,6 +91,7 @@
font="font:SmallSystemFont"
text="3." />
<Label
id="WifiInstructionWithDeviceNameLabel"
font="font:SmallSystemFont"
width="380"
wrap="true"