mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-21 02:01:03 +07:00
added qr-code decoder for android
- added color change for status and navigation bar for android
This commit is contained in:
@@ -13,6 +13,14 @@ import "../Config"
|
||||
PageType {
|
||||
id: root
|
||||
|
||||
Connections {
|
||||
target: ImportController
|
||||
|
||||
function onQrDecodingFinished() {
|
||||
goToPage(PageEnum.PageSetupWizardViewConfig)
|
||||
}
|
||||
}
|
||||
|
||||
FlickableType {
|
||||
id: fl
|
||||
anchors.top: parent.top
|
||||
@@ -77,7 +85,7 @@ It's okay if a friend passed the code.")
|
||||
leftImageSource: "qrc:/images/controls/qr-code.svg"
|
||||
|
||||
clickedFunction: function() {
|
||||
ImportController.extractConfigFromQr()
|
||||
ImportController.startDecodingQr()
|
||||
// goToPage(PageEnum.PageSetupWizardQrReader)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user