fix(BackupSeedModal): fix the confirmation/final page UI

Follow up to PR #6467, just a few minor UI tweaks to align it to the
intended design
This commit is contained in:
Lukáš Tinkl 2022-07-15 15:25:25 +02:00 committed by Lukáš Tinkl
parent b5d82ed4b4
commit 1b576a64cf
1 changed files with 43 additions and 29 deletions

View File

@ -9,41 +9,55 @@ import shared.panels 1.0
BackupSeedStepBase {
id: root
property bool seedStored: storeCheck.checked
readonly property alias seedStored: storeCheck.checked
titleText: qsTr("Complete back up")
StyledText {
id: txtTitle
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
font.bold: true
font.pixelSize: 17
text: qsTr("Store Your Phrase Offline and Complete Your Back Up")
ColumnLayout {
Layout.fillWidth: true
}
Layout.leftMargin: 44
Layout.rightMargin: 44
Layout.topMargin: Style.current.bigPadding
spacing: Style.current.padding
StyledText {
id: txtDesc
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
font.pixelSize: Style.current.primaryTextFontSize
text: qsTr("By completing this process, you will remove your seed phrase from this applications storage. This makes your funds more secure.")
Layout.fillWidth: true
}
StyledText {
id: txtTitle
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
font.bold: true
font.pixelSize: 17
lineHeight: 1.2
text: qsTr("Store Your Phrase Offline and Complete Your Back Up")
Layout.fillWidth: true
}
StyledText {
id: secondTxtDesc
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
font.pixelSize: Style.current.primaryTextFontSize
text: qsTr("You will remain logged in, and your seed phrase will be entirely in your hands.")
Layout.fillWidth: true
}
StyledText {
id: txtDesc
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
font.pixelSize: Style.current.primaryTextFontSize
lineHeight: 1.2
text: qsTr("By completing this process, you will remove your seed phrase from this applications storage. This makes your funds more secure.")
Layout.fillWidth: true
}
StatusCheckBox {
id: storeCheck
text: qsTr("I aknowledge that Status will not be able to show me my seed phrase again.")
Layout.fillWidth: true
StyledText {
id: secondTxtDesc
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
font.pixelSize: Style.current.primaryTextFontSize
lineHeight: 1.2
text: qsTr("You will remain logged in, and your seed phrase will be entirely in your hands.")
Layout.fillWidth: true
}
StatusCheckBox {
id: storeCheck
spacing: Style.current.padding
font.pixelSize: Style.current.primaryTextFontSize
text: qsTr("I acknowledge that Status will not be able to show me my seed phrase again.")
Layout.fillWidth: true
Layout.topMargin: Style.current.bigPadding
}
}
}