diff --git a/src/app/components/modals/buy/buy.component.html b/src/app/components/modals/buy/buy.component.html index 35b529f3..2aea0005 100644 --- a/src/app/components/modals/buy/buy.component.html +++ b/src/app/components/modals/buy/buy.component.html @@ -17,6 +17,13 @@

Coinbase

Transfer from Coinbase

+
+ +
+

Transak

+

Bank transfers & local payment methods in 120+ countries

+
+
@@ -24,13 +31,6 @@

Moonpay

Cards & bank transfers

- \ No newline at end of file diff --git a/src/app/components/views/logged-in/account-view/buy/buy.component.ts b/src/app/components/views/logged-in/account-view/buy/buy.component.ts index b0b4906e..55409267 100644 --- a/src/app/components/views/logged-in/account-view/buy/buy.component.ts +++ b/src/app/components/views/logged-in/account-view/buy/buy.component.ts @@ -75,10 +75,9 @@ export class BuyComponent implements OnInit, OnDestroy { XTZ: { address } } }; + const apiKey = CONSTANTS.MAINNET ? 'f1336570-699b-4181-9bd1-cdd57206981f' : '3b0e81f3-37dc-41f3-9837-bd8d2c350313'; this.url = this.sanitizer.bypassSecurityTrustResourceUrl( - `https://${ - this.dev ? 'staging-' : '' - }global.transak.com?apiKey=3b0e81f3-37dc-41f3-9837-bd8d2c350313&cryptoCurrencyCode=XTZ&walletAddressesData=${JSON.stringify( + `https://${!CONSTANTS.MAINNET ? 'staging-' : ''}global.transak.com?apiKey=${apiKey}&cryptoCurrencyCode=XTZ&walletAddressesData=${JSON.stringify( walletAddressesData )}&disableWalletAddressForm=true}` ); diff --git a/src/scss/components/modals/buy.scss b/src/scss/components/modals/buy.scss index 5564c4b6..03069233 100644 --- a/src/scss/components/modals/buy.scss +++ b/src/scss/components/modals/buy.scss @@ -35,7 +35,7 @@ color: v.$base-font-color-secondary; } } - &:nth-child(2) { + &:last-child { margin: 0 0 0 0; } }