fix(CommunityPermissions): ens icon fixed, locale fixed in AmountInput
This commit is contained in:
parent
be26dc049b
commit
a6dc4e9011
|
@ -235,7 +235,7 @@ StatusScrollView {
|
||||||
onAddEns: {
|
onAddEns: {
|
||||||
const key = any ? "EnsAny" : "EnsCustom"
|
const key = any ? "EnsAny" : "EnsCustom"
|
||||||
const name = any ? "" : customDomain
|
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 })
|
d.dirtyValues.holdingsModel.append({type: HoldingTypes.Type.Ens, key, name, amount: 1, imageSource: icon })
|
||||||
dropdown.close()
|
dropdown.close()
|
||||||
|
@ -266,7 +266,7 @@ StatusScrollView {
|
||||||
onUpdateEns: {
|
onUpdateEns: {
|
||||||
const key = any ? "EnsAny" : "EnsCustom"
|
const key = any ? "EnsAny" : "EnsCustom"
|
||||||
const name = any ? "" : customDomain
|
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.dirtyValues.holdingsModel.set(tokensSelector.editedIndex, { type: HoldingTypes.Type.Ens, key, name: name, amount: 1, imageSource: icon })
|
||||||
d.triggerDirtyTool = !d.triggerDirtyTool
|
d.triggerDirtyTool = !d.triggerDirtyTool
|
||||||
|
|
|
@ -40,7 +40,7 @@ Input {
|
||||||
decimals: root.allowDecimals ? 100 : 0
|
decimals: root.allowDecimals ? 100 : 0
|
||||||
bottom: 0
|
bottom: 0
|
||||||
notation: DoubleValidator.StandardNotation
|
notation: DoubleValidator.StandardNotation
|
||||||
locale: root.locale
|
locale: root.locale.name
|
||||||
}
|
}
|
||||||
|
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
|
|
Loading…
Reference in New Issue