mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
remove comment
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user