From a6dc4e9011558b55e1c3a16b63d68a98491193d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blak?= Date: Tue, 17 Jan 2023 23:56:58 +0100 Subject: [PATCH] fix(CommunityPermissions): ens icon fixed, locale fixed in AmountInput --- .../Chat/views/communities/CommunityNewPermissionView.qml | 4 ++-- ui/imports/shared/controls/AmountInput.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/app/AppLayouts/Chat/views/communities/CommunityNewPermissionView.qml b/ui/app/AppLayouts/Chat/views/communities/CommunityNewPermissionView.qml index d9eb235719..1ccc154bab 100644 --- a/ui/app/AppLayouts/Chat/views/communities/CommunityNewPermissionView.qml +++ b/ui/app/AppLayouts/Chat/views/communities/CommunityNewPermissionView.qml @@ -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 diff --git a/ui/imports/shared/controls/AmountInput.qml b/ui/imports/shared/controls/AmountInput.qml index b8788fdde0..a3a902ea4d 100644 --- a/ui/imports/shared/controls/AmountInput.qml +++ b/ui/imports/shared/controls/AmountInput.qml @@ -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: {