feat(Wallet): Display the "Buy" button everywhere

- display the "Buy" button in every context in the wallet footer except
when viewing a collectible's details

Fixes #15813
This commit is contained in:
Lukáš Tinkl 2024-08-07 17:20:21 +02:00 committed by Lukáš Tinkl
parent 833848188c
commit 96824dbb91
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ Rectangle {
&& !root.walletStore.showAllAccounts
&& !d.hideCollectibleTransferActions
readonly property bool buyActionAvailable: !root.isCommunityOwnershipTransfer && !root.walletStore.showAllAccounts
readonly property bool buyActionAvailable: !isCollectibleViewed
readonly property bool swapActionAvailable: Global.featureFlags.swapEnabled && !walletStore.overview.isWatchOnlyAccount && walletStore.overview.canSend && !d.hideCollectibleTransferActions