fix(CommunityPermissions): ens icon fixed, locale fixed in AmountInput
This commit is contained in:
parent
be26dc049b
commit
a6dc4e9011
|
@ -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
|
||||
|
|
|
@ -34,13 +34,13 @@ Input {
|
|||
property real amount: 0
|
||||
}
|
||||
|
||||
validator: DoubleValidator {
|
||||
validator: DoubleValidator {
|
||||
id: doubleValidator
|
||||
|
||||
decimals: root.allowDecimals ? 100 : 0
|
||||
bottom: 0
|
||||
notation: DoubleValidator.StandardNotation
|
||||
locale: root.locale
|
||||
locale: root.locale.name
|
||||
}
|
||||
|
||||
onTextChanged: {
|
||||
|
|
Loading…
Reference in New Issue