chore(@CommunityNewTokenView): placeholder should differ depends on view

different placeholders for Asset and Collectibles view per figma
This commit is contained in:
Anastasiya Semiankevich 2023-06-23 12:15:21 +03:00 committed by Anastasiya Semenkevich
parent cdac45010a
commit b0a48f35ee
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ StatusScrollView {
label: qsTr("Symbol") label: qsTr("Symbol")
text: root.isAssetView ? asset.symbol : collectible.symbol text: root.isAssetView ? asset.symbol : collectible.symbol
charLimit: 6 charLimit: 6
placeholderText: qsTr("e.g. DOODLE") placeholderText: root.isAssetView ? qsTr("e.g. ETH"): qsTr("e.g. DOODLE")
validationMode: root.validationMode validationMode: root.validationMode
minLengthValidator.errorMessage: qsTr("Please enter your token symbol (use A-Z only)") minLengthValidator.errorMessage: qsTr("Please enter your token symbol (use A-Z only)")
regexValidator.errorMessage: qsTr("Your token symbol contains invalid characters (use A-Z only)") regexValidator.errorMessage: qsTr("Your token symbol contains invalid characters (use A-Z only)")