feat(@desktop/onboarding): Update Biometrics screen text and image, hide back button
Closes #5602
This commit is contained in:
parent
26efddfef2
commit
3cf43c864f
|
@ -7,6 +7,9 @@ import utils 1.0
|
||||||
|
|
||||||
Page {
|
Page {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
property alias backButtonVisible: backButton.visible
|
||||||
|
|
||||||
signal exit()
|
signal exit()
|
||||||
signal backClicked()
|
signal backClicked()
|
||||||
|
|
||||||
|
@ -15,6 +18,7 @@ Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusRoundButton {
|
StatusRoundButton {
|
||||||
|
id: backButton
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: Style.current.padding
|
anchors.leftMargin: Style.current.padding
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
|
|
|
@ -87,7 +87,6 @@ OnboardingBasePage {
|
||||||
}
|
}
|
||||||
TouchIDAuthView {
|
TouchIDAuthView {
|
||||||
userPass: d.newPassword
|
userPass: d.newPassword
|
||||||
onBackClicked: { gotoKeysStack(GenKeyView.KeysStack.CONFRIM_PWD) }
|
|
||||||
onGenKeysDone: { root.keysGenerated() }
|
onGenKeysDone: { root.keysGenerated() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,10 @@ OnboardingBasePage {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
property string userPass
|
property string userPass
|
||||||
signal genKeysDone();
|
|
||||||
|
signal genKeysDone()
|
||||||
|
|
||||||
|
backButtonVisible: false
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: container
|
id: container
|
||||||
|
@ -63,7 +66,7 @@ OnboardingBasePage {
|
||||||
anchors.top: txtTitle.bottom
|
anchors.top: txtTitle.bottom
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: Style.current.padding
|
||||||
color: Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
text: qsTrId("Would you like to use your TouchID to login to Status?")
|
text: qsTrId("Would you like to use your Touch ID to login to Status?")
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
@ -76,7 +79,7 @@ OnboardingBasePage {
|
||||||
StatusButton {
|
StatusButton {
|
||||||
id: button
|
id: button
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
text: qsTr("Yes, use TouchID ")
|
text: qsTr("Yes, use Touch ID")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
OnboardingStore.accountSettings.storeToKeychainValue = Constants.storeToKeychainValueStore;
|
OnboardingStore.accountSettings.storeToKeychainValue = Constants.storeToKeychainValueStore;
|
||||||
dimBackground.active = true;
|
dimBackground.active = true;
|
||||||
|
@ -87,7 +90,7 @@ OnboardingBasePage {
|
||||||
id: keycardLink
|
id: keycardLink
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
color: Theme.palette.primaryColor1
|
color: Theme.palette.primaryColor1
|
||||||
text: qsTr("I prefer to use my PIN")
|
text: qsTr("I prefer to use my password")
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 57 KiB |
Binary file not shown.
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 115 KiB |
Loading…
Reference in New Issue