fix(Settings/ProfileLayout): TestNet banner overlaps left panel

Fixes #6600
This commit is contained in:
Lukáš Tinkl 2022-07-25 12:35:04 +02:00 committed by Lukáš Tinkl
parent 8af4e765c9
commit 4e81f586ca
1 changed files with 1 additions and 6 deletions

View File

@ -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 {