qml: implement toggle for android SECURE_FLAG and add marker to wizard pages
that should be secured.
This commit is contained in:
@@ -8,6 +8,8 @@ import ".."
|
||||
import "../controls"
|
||||
|
||||
WizardComponent {
|
||||
securePage: true
|
||||
|
||||
valid: false
|
||||
|
||||
function checkValid() {
|
||||
|
||||
@@ -7,6 +7,8 @@ import org.electrum 1.0
|
||||
import "../controls"
|
||||
|
||||
WizardComponent {
|
||||
securePage: true
|
||||
|
||||
valid: seedtext.text != ''
|
||||
|
||||
function apply() {
|
||||
|
||||
@@ -9,6 +9,7 @@ import "../controls"
|
||||
|
||||
WizardComponent {
|
||||
id: root
|
||||
securePage: true
|
||||
|
||||
valid: false
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ import "../controls"
|
||||
|
||||
WizardComponent {
|
||||
id: root
|
||||
securePage: true
|
||||
|
||||
valid: false
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ import "../controls"
|
||||
|
||||
WizardComponent {
|
||||
id: root
|
||||
securePage: true
|
||||
|
||||
valid: false
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@ import QtQuick 2.6
|
||||
import QtQuick.Layouts 1.0
|
||||
import QtQuick.Controls 2.1
|
||||
|
||||
import org.electrum 1.0
|
||||
|
||||
import "../controls"
|
||||
|
||||
ElDialog {
|
||||
@@ -141,6 +143,11 @@ ElDialog {
|
||||
_setWizardData({})
|
||||
}
|
||||
|
||||
Binding {
|
||||
target: AppController
|
||||
property: 'secureWindow'
|
||||
value: pages.contentChildren[pages.currentIndex].securePage
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
|
||||
@@ -11,6 +11,7 @@ Pane {
|
||||
property bool valid
|
||||
property bool last: false
|
||||
property string title: ''
|
||||
property bool securePage: false
|
||||
|
||||
leftPadding: constants.paddingXLarge
|
||||
rightPadding: constants.paddingXLarge
|
||||
|
||||
Reference in New Issue
Block a user