From 0cd7e3650ac8acb466212bbcff539e7642452dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Wed, 12 Apr 2023 12:33:40 +0200 Subject: [PATCH] fix(StatusStickerMarket): do not confirm enabling wallet wallet is already enabled by default for users and there's no way to enable it if it gets disabled by using an env var --- .../shared/status/StatusStickerMarket.qml | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/ui/imports/shared/status/StatusStickerMarket.qml b/ui/imports/shared/status/StatusStickerMarket.qml index c7116668f0..d065cae3d9 100644 --- a/ui/imports/shared/status/StatusStickerMarket.qml +++ b/ui/imports/shared/status/StatusStickerMarket.qml @@ -229,32 +229,11 @@ Item { onCancelClicked: root.cancelClicked(packId) onUpdateClicked: root.updateClicked(packId) onBuyClicked: { - if (!SharedStores.RootStore.isWalletEnabled) { - confirmationPopup.open() - return - } Global.openPopup(stickerPackPurchaseModal) root.buyClicked(packId) } } } - - ConfirmationDialog { - id: confirmationPopup - showCancelButton: true - confirmationText: qsTr("This feature is experimental and is meant for testing purposes by core contributors and the community. It's not meant for real use and makes no claims of security or integrity of funds or data. Use at your own risk.") - confirmButtonLabel: qsTr("I understand") - onConfirmButtonClicked: { - SharedStores.RootStore.enableWallet(); - close() - Global.openPopup(stickerPackPurchaseModal) - root.buyClicked(packId) - } - - onCancelButtonClicked: { - close() - } - } } } }