fix(CommunityPermissions): ens icon fixed, locale fixed in AmountInput

This commit is contained in:
Michał Cieślak 2023-01-17 23:56:58 +01:00 committed by Michał
parent be26dc049b
commit a6dc4e9011
2 changed files with 4 additions and 4 deletions

View File

@ -235,7 +235,7 @@ StatusScrollView {
onAddEns: {
const key = any ? "EnsAny" : "EnsCustom"
const name = any ? "" : customDomain
const icon = Style.svg("ensUsernames")
const icon = Style.svg("profile/ensUsernames")
d.dirtyValues.holdingsModel.append({type: HoldingTypes.Type.Ens, key, name, amount: 1, imageSource: icon })
dropdown.close()
@ -266,7 +266,7 @@ StatusScrollView {
onUpdateEns: {
const key = any ? "EnsAny" : "EnsCustom"
const name = any ? "" : customDomain
const icon = Style.svg("ensUsernames")
const icon = Style.svg("profile/ensUsernames")
d.dirtyValues.holdingsModel.set(tokensSelector.editedIndex, { type: HoldingTypes.Type.Ens, key, name: name, amount: 1, imageSource: icon })
d.triggerDirtyTool = !d.triggerDirtyTool

View File

@ -40,7 +40,7 @@ Input {
decimals: root.allowDecimals ? 100 : 0
bottom: 0
notation: DoubleValidator.StandardNotation
locale: root.locale
locale: root.locale.name
}
onTextChanged: {