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 25, 2022
1 parent fa93b08 commit 4a32dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ui/StatusQ
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 4a32dc0

Please sign in to comment.