mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
fixed iOS UI scanner
This commit is contained in:
@@ -168,6 +168,9 @@ PageType {
|
||||
if (!GC.isMobile()) {
|
||||
return
|
||||
}
|
||||
if (!root.visible) {
|
||||
return
|
||||
}
|
||||
console.warn("[PairingQrSend] startMobileScanner Qt.platform.os=", Qt.platform.os,
|
||||
"iosNativePairingQrOverlayBuild=", PairingUiController.iosNativePairingQrOverlayBuild,
|
||||
"useIosNativePairingQrOverlay=", root.useIosNativePairingQrOverlay)
|
||||
@@ -264,7 +267,7 @@ PageType {
|
||||
onPairingWizardStepChanged: {
|
||||
if (pairingWizardStep !== 0) {
|
||||
stopMobileScanner()
|
||||
} else {
|
||||
} else if (root.visible) {
|
||||
Qt.callLater(startMobileScanner)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user