From 52b1cc382427287613cd60fb6c8930b4f82dc378 Mon Sep 17 00:00:00 2001 From: Roman Chornii Date: Fri, 12 Jul 2024 16:57:04 +0300 Subject: [PATCH] =?UTF-8?q?fix(statusProfileNavBarTabButton):=20Fixed=20ba?= =?UTF-8?q?ckgound=20color=20and=20ring=20for=E2=80=A6=20(#15534)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(statusProfileNavBarTabButton): Fixed backgound color and ring for StatusNavBarTabButton that's displayed at left bottom of the main window. Fixed signal typo in CommunityTokensStore. Closes #15479. * fix(CommunityTokenStore): fixed signal handler name on qml side. --- ui/app/mainui/AppMain.qml | 8 ++++---- ui/imports/shared/stores/CommunityTokensStore.qml | 2 +- ui/imports/utils/Utils.qml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ui/app/mainui/AppMain.qml b/ui/app/mainui/AppMain.qml index ce036ff5c4..530f5f1ad4 100644 --- a/ui/app/mainui/AppMain.qml +++ b/ui/app/mainui/AppMain.qml @@ -29,15 +29,15 @@ import shared.popups.send 1.0 as SendPopups import shared.popups.send.views 1.0 import shared.stores.send 1.0 +import StatusQ 0.1 +import StatusQ.Core 0.1 import StatusQ.Core.Theme 0.1 +import StatusQ.Core.Utils 0.1 as SQUtils import StatusQ.Components 0.1 import StatusQ.Controls 0.1 import StatusQ.Layout 0.1 import StatusQ.Popups 0.1 import StatusQ.Popups.Dialog 0.1 -import StatusQ.Core 0.1 -import StatusQ.Core.Utils 0.1 -import StatusQ 0.1 import AppLayouts.Browser.stores 1.0 as BrowserStores import AppLayouts.stores 1.0 @@ -1972,7 +1972,7 @@ Item { if (showQR.showSingleAccount || showQR.showForSavedAddress) { return showQR.selectedAccount } - return selectedReceiverAccount.item ?? ModelUtils.get(appMain.transactionStore.accounts, 0) + return selectedReceiverAccount.item ?? SQUtils.ModelUtils.get(appMain.transactionStore.accounts, 0) } onUpdateSelectedAddress: (address) => { diff --git a/ui/imports/shared/stores/CommunityTokensStore.qml b/ui/imports/shared/stores/CommunityTokensStore.qml index fa6c9cf6db..8ab529eaee 100644 --- a/ui/imports/shared/stores/CommunityTokensStore.qml +++ b/ui/imports/shared/stores/CommunityTokensStore.qml @@ -153,7 +153,7 @@ QtObject { root.setSignerStateChanged(communityId, communityName, status, url) } - function onOwnershipLost(communityId, communityName) { + function onOwnershipNodeLost(communityId, communityName) { root.ownershipLost(communityId, communityName) } diff --git a/ui/imports/utils/Utils.qml b/ui/imports/utils/Utils.qml index d771350e25..75469d821e 100644 --- a/ui/imports/utils/Utils.qml +++ b/ui/imports/utils/Utils.qml @@ -1,6 +1,6 @@ pragma Singleton -import QtQuick 2.13 +import QtQuick 2.15 import shared 1.0 @@ -280,7 +280,7 @@ QtObject { } } - function validatePINs(item, firstPINField, repeatPINField) { + function validatePINs(item, firstPINField, repeatPINField) { switch (item) { case "first": if (firstPINField.pinInput === "") {