Skip to content

Commit

Permalink
fix(Settings/ProfileLayout): TestNet banner overlaps left panel
Browse files Browse the repository at this point in the history
Fixes #6600
  • Loading branch information
caybro committed Jul 27, 2022
1 parent ee43cb2 commit 4c75d16
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ui/app/AppLayouts/Profile/ProfileLayout.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4c75d16

Please sign in to comment.