remove comment

This commit is contained in:
dranik
2026-05-18 18:05:06 +03:00
parent d8668742b4
commit d6c34b3f60
13 changed files with 10 additions and 91 deletions
@@ -19,9 +19,7 @@ import "../Components"
PageType {
id: root
/** True after "Add Device via QR" until permission result or navigation. */
property bool pendingOpenQrPageAfterCamera: false
/** True after denial: user may enable camera in system settings; resume opens QR page when granted. */
property bool waitingSettingsReturnForQrPage: false
function proceedOpenQrPairingPage() {
@@ -13,14 +13,12 @@ PageType {
id: root
property int qrImageIndex: 0
/** Same window as gateway long-poll: new QR / session on each tick. */
readonly property int qrRefreshIntervalMs: Math.max(5000, PairingUiController.tvPairingWaitWindowSeconds * 1000)
function scrollPairingToBottom() {
receiveScroll.contentY = Math.max(0, receiveScroll.contentHeight - receiveScroll.height)
}
/** StackView often creates the page already visible — onVisibleChanged may not fire for the initial true. */
function beginReceiveFlow() {
PairingUiController.startTvQrSession()
qrRotationTimer.restart()