Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ref: Remove Exchange crypto feature from MacOS #11451

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/app/app.component.ts
Expand Up @@ -514,14 +514,17 @@ export class CopayApp {
this.giftCardProvider.register();

// Buy Crypto
if (this.appProvider.info._enabledExtensions.buycrypto) {
if (
this.appProvider.info._enabledExtensions.buycrypto &&
!this.platformProvider.isMacApp()
) {
this.buyCryptoProvider.register();
}

// Exchange Crypto
if (
this.appProvider.info._enabledExtensions.exchangecrypto &&
this.platformProvider.isMacApp()
!this.platformProvider.isMacApp()
) {
this.exchangeCryptoProvider.register();
}
Expand All @@ -533,7 +536,10 @@ export class CopayApp {
}

// Wallet Connect
if (this.appProvider.info._enabledExtensions.walletConnect) {
if (
this.appProvider.info._enabledExtensions.walletConnect &&
!this.platformProvider.isMacApp()
) {
this.walletConnectProvider.register();
this.persistenceProvider.getWalletConnect().then(walletConnectData => {
this.walletConnectProvider.retrieveWalletConnector(walletConnectData);
Expand Down