Skip to content

Commit

Permalink
fix(CommunityPermissions): ens icon fixed, locale fixed in AmountInput
Browse files Browse the repository at this point in the history
  • Loading branch information
micieslak committed Jan 20, 2023
1 parent be26dc0 commit a6dc4e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ui/imports/shared/controls/AmountInput.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit a6dc4e9

Please sign in to comment.