Skip to content

Commit

Permalink
feat(Wallet): Display the "Buy" button everywhere
Browse files Browse the repository at this point in the history
- display the "Buy" button in every context in the wallet footer except
when viewing a collectible's details

Fixes #15813
  • Loading branch information
caybro committed Aug 7, 2024
1 parent ed650d3 commit d55b00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/AppLayouts/Wallet/panels/WalletFooter.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d55b00f

Please sign in to comment.