diff --git a/app/partials/send/send-confirm.pug b/app/partials/send/send-confirm.pug index f5a7679c85..7020bf9da7 100644 --- a/app/partials/send/send-confirm.pug +++ b/app/partials/send/send-confirm.pug @@ -31,6 +31,7 @@ fiat.f-20(btc="$ctrl.getTransactionTotal(true)" ng-if="$ctrl.asset === 'btc'") fiat.f-20(eth="$ctrl.getTransactionTotal(true)" ng-if="$ctrl.asset === 'eth'") fiat.f-20(bch="$ctrl.getTransactionTotal(true)" ng-if="$ctrl.asset === 'bch'") + div.well.em-400.type-h5.hidden-xs(translate="BITCOIN_CASH.VERIFY_ADDRESS" ng-if="$ctrl.asset === 'bch' && $ctrl.tx.destination.type === 'External'") .mt-30 button.full.button-primary.upper( ladda-translate="{{$ctrl.getButtonContent()}}" diff --git a/assets/css/modules/_settings.scss b/assets/css/modules/_settings.scss index 022769c49b..3f8f717716 100644 --- a/assets/css/modules/_settings.scss +++ b/assets/css/modules/_settings.scss @@ -196,6 +196,11 @@ table.accounts-container { border-left: 5px solid $blue; } +div.well { + margin-bottom: 0px; + font-size: 14px; +} + .setting-result { @extend .prn; } diff --git a/assets/js/components/send-confirm.component.js b/assets/js/components/send-confirm.component.js index 6ea3fbfda3..722efafee1 100644 --- a/assets/js/components/send-confirm.component.js +++ b/assets/js/components/send-confirm.component.js @@ -25,9 +25,9 @@ function SendConfirmController (Wallet, currency, $rootScope) { this.btcCurr = currency.bitCurrencies[0]; this.getButtonContent = () => { - if (this.asset === 'bch') return 'SEND_BITCOIN_CASH'; if (this.asset === 'eth') return 'SEND_ETHER'; if (this.asset === 'btc') return this.tx.destination.type !== 'External' ? 'TRANSFER_BITCOIN' : 'SEND_BITCOIN'; + if (this.asset === 'bch') return this.tx.destination.type !== 'External' ? 'TRANSFER_BITCOIN_CASH' : 'SEND_BITCOIN_CASH'; }; this.size = $rootScope.size; diff --git a/locales/en-human.json b/locales/en-human.json index 7c364c19d4..dfbf2af8fc 100644 --- a/locales/en-human.json +++ b/locales/en-human.json @@ -1984,6 +1984,7 @@ "ALL_WALLETS": "All Bitcoin Cash Wallets", "GET_STARTED": "Get Started With Bitcoin Cash", "WELCOME_TO": "Welcome to Bitcoin Cash", + "VERIFY_ADDRESS": "Are you sure this is a Bitcoin Cash address? Sending funds to a bitcoin address by accident will result in loss of funds.", "WHAT_IS_BCASH": { "HEADER": "What is Bitcoin Cash?", "BODY": "Bitcoin Cash is a form of peer-to-peer electronic cash that was created after a fork of the Bitcoin block chain in August 2017. Bitcoin Cash has since grown to be one of the top cryptocurrencies, along with bitcoin and ether." @@ -1999,6 +2000,7 @@ "EXCHANGE_STATUS": "Exchange Status", "SEND_ETHER": "Send Ether", "SEND_BITCOIN_CASH": "Send Bitcoin Cash", + "TRANSFER_BITCOIN_CASH": "Transfer Bitcoin Cash", "REQUEST_BITCOIN": "Request Bitcoin", "REQUEST_ETHER": "Request Ether", "REQUEST_BITCOIN_CASH": "Request Bitcoin Cash",