chore(wallet): Hide Swap if cannot send (#15914)
This commit is contained in:
parent
112a6f3003
commit
9cf9fa0470
|
@ -71,7 +71,7 @@ Rectangle {
|
||||||
|
|
||||||
readonly property bool buyActionAvailable: !root.isCommunityOwnershipTransfer && !root.walletStore.showAllAccounts
|
readonly property bool buyActionAvailable: !root.isCommunityOwnershipTransfer && !root.walletStore.showAllAccounts
|
||||||
|
|
||||||
readonly property bool swapActionAvailable: Global.featureFlags.swapEnabled && !walletStore.overview.isWatchOnlyAccount && !d.hideCollectibleTransferActions
|
readonly property bool swapActionAvailable: Global.featureFlags.swapEnabled && !walletStore.overview.isWatchOnlyAccount && walletStore.overview.canSend && !d.hideCollectibleTransferActions
|
||||||
|
|
||||||
function getFirstUserOwnedAddress(ownershipModel, accountsModel) {
|
function getFirstUserOwnedAddress(ownershipModel, accountsModel) {
|
||||||
if (!ownershipModel) return ""
|
if (!ownershipModel) return ""
|
||||||
|
|
Loading…
Reference in New Issue