fix(desktop/wallet2) Updated wallet2 warning text

Also changed icon from wallet to cancel, to indicate
that the feature is incomplete

Closes #3431

fix(desktop/wallet2) Updated wallet2 warning text

Also changed icon from wallet to cancel, to indicate
that the feature is incomplete

Closes #3431

update wallet v2 description
This commit is contained in:
Alexandra Betouni 2021-09-09 15:06:57 +03:00 committed by Iuri Matias
parent 87d0a87b59
commit 6514eb6c5c
2 changed files with 6 additions and 4 deletions

View File

@ -86,7 +86,7 @@ ScrollView {
}
StatusSettingsLineButton {
text: qsTr("Wallet v2")
text: qsTr("Wallet v2 - do not use, under active development")
isSwitch: true
switchChecked: appSettings.isWalletV2Enabled
onClicked: {
@ -289,7 +289,8 @@ ScrollView {
height: 310
showCancelButton: true
//% "This feature is experimental and is meant for testing purposes by core contributors and the community. It's not meant for real use and makes no claims of security or integrity of funds or data. Use at your own risk."
confirmationText: qsTrId("this-feature-is-experimental-and-is-meant-for-testing-purposes-by-core-contributors-and-the-community--it-s-not-meant-for-real-use-and-makes-no-claims-of-security-or-integrity-of-funds-or-data--use-at-your-own-risk-")
confirmationText: (settingsProp === "isWalletV2Enabled" ? qsTr("<b>--DO NOT USE - UNDER ACTIVE DEVELOPMENT--</b>\n") : "") +
qsTrId("this-feature-is-experimental-and-is-meant-for-testing-purposes-by-core-contributors-and-the-community--it-s-not-meant-for-real-use-and-makes-no-claims-of-security-or-integrity-of-funds-or-data--use-at-your-own-risk-")
//% "I understand"
confirmButtonLabel: qsTrId("i-understand")
onConfirmButtonClicked: {

View File

@ -364,8 +364,9 @@ Item {
},
StatusNavBarTabButton {
icon.name: "wallet"
tooltip.text: qsTr("Wallet v2")
//TODO temporary icon name, switch back to wallet
icon.name: "cancel"
tooltip.text: qsTr("Wallet v2 - do not use, under active development")
visible: enabled
enabled: isExperimental === "1" || appSettings.isWalletV2Enabled
checked: appView.currentIndex == Utils.getAppSectionIndex(Constants.walletv2)