feat(@desktop/onboarding): Update Biometrics screen text and image, hide back button

Closes #5602
This commit is contained in:
mishkarogachev 2022-05-03 10:28:16 +03:00 committed by Iuri Matias
parent 26efddfef2
commit 3cf43c864f
5 changed files with 11 additions and 5 deletions

View File

@ -7,6 +7,9 @@ import utils 1.0
Page {
id: root
property alias backButtonVisible: backButton.visible
signal exit()
signal backClicked()
@ -15,6 +18,7 @@ Page {
}
StatusRoundButton {
id: backButton
anchors.left: parent.left
anchors.leftMargin: Style.current.padding
anchors.bottom: parent.bottom

View File

@ -87,7 +87,6 @@ OnboardingBasePage {
}
TouchIDAuthView {
userPass: d.newPassword
onBackClicked: { gotoKeysStack(GenKeyView.KeysStack.CONFRIM_PWD) }
onGenKeysDone: { root.keysGenerated() }
}
}

View File

@ -18,7 +18,10 @@ OnboardingBasePage {
id: root
property string userPass
signal genKeysDone();
signal genKeysDone()
backButtonVisible: false
Item {
id: container
@ -63,7 +66,7 @@ OnboardingBasePage {
anchors.top: txtTitle.bottom
anchors.topMargin: Style.current.padding
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
wrapMode: Text.WordWrap
font.pixelSize: 15
@ -76,7 +79,7 @@ OnboardingBasePage {
StatusButton {
id: button
Layout.alignment: Qt.AlignHCenter
text: qsTr("Yes, use TouchID ")
text: qsTr("Yes, use Touch ID")
onClicked: {
OnboardingStore.accountSettings.storeToKeychainValue = Constants.storeToKeychainValueStore;
dimBackground.active = true;
@ -87,7 +90,7 @@ OnboardingBasePage {
id: keycardLink
Layout.alignment: Qt.AlignHCenter
color: Theme.palette.primaryColor1
text: qsTr("I prefer to use my PIN")
text: qsTr("I prefer to use my password")
MouseArea {
anchors.fill: parent
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