From 4e81f586caeba6892039140320ab4a4995ef470d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Mon, 25 Jul 2022 12:35:04 +0200 Subject: [PATCH] fix(Settings/ProfileLayout): TestNet banner overlaps left panel Fixes #6600 --- ui/app/AppLayouts/Profile/ProfileLayout.qml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ui/app/AppLayouts/Profile/ProfileLayout.qml b/ui/app/AppLayouts/Profile/ProfileLayout.qml index c32a74b784..dd0807cd39 100644 --- a/ui/app/AppLayouts/Profile/ProfileLayout.qml +++ b/ui/app/AppLayouts/Profile/ProfileLayout.qml @@ -60,12 +60,7 @@ StatusAppTwoPanelLayout { visible: profileContainer.currentIndex === Constants.settingsSubsection.wallet && profileView.store.walletStore.areTestNetworksEnabled type: StatusBanner.Type.Danger - statusText: { - if(profileContainer.currentIndex === Constants.settingsSubsection.wallet && - profileView.store.walletStore.areTestNetworksEnabled) - return qsTr("Testnet mode is enabled. All balances, transactions and dApp interactions will be on testnets.") - return "" - } + statusText: qsTr("Testnet mode is enabled. All balances, transactions and dApp interactions will be on testnets.") } StackLayout {