mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 00:56:39 +00:00
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
|
||||||
|
@ -34,13 +34,13 @@ Input {
|
|||||||
property real amount: 0
|
property real amount: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
validator: DoubleValidator {
|
validator: DoubleValidator {
|
||||||
id: doubleValidator
|
id: doubleValidator
|
||||||
|
|
||||||
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…
x
Reference in New Issue
Block a user