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