Browse Source

zec, hush spv

v0.25
pbca26 7 years ago
parent
commit
2a79169490
  1. 8
      react/src/components/addcoin/addcoinOptionsCrypto.js
  2. 2
      react/src/components/dashboard/coinTile/coinTileItem.js
  3. 2
      react/src/components/dashboard/jumblr/jumblr.js
  4. 1
      react/src/components/dashboard/jumblr/jumblr.render.js
  5. 6
      react/src/util/coinHelper.js

8
react/src/components/addcoin/addcoinOptionsCrypto.js

@ -80,6 +80,14 @@ const addCoinOptionsCrypto = () => {
label: 'Dogecoin (DOGE)', label: 'Dogecoin (DOGE)',
icon: 'DOGE', icon: 'DOGE',
value: `DOGE|spv`, value: `DOGE|spv`,
}, {
label: 'Zcash (ZEC)',
icon: 'ZEC',
value: `ZEC|spv`,
}, {
label: 'Hush (HUSH)',
icon: 'HUSH',
value: `HUSH|spv`,
}); });
} }

2
react/src/components/dashboard/coinTile/coinTileItem.js

@ -169,7 +169,7 @@ class CoinTileItem extends React.Component {
Store.dispatch( Store.dispatch(
triggerToaster( triggerToaster(
translate('TOASTR.COIN_UNABLE_TO_STOP', coin), translate('TOASTR.COIN_UNABLE_TO_STOP', coin),
'Error', translate('TOASTR.ERROR'),
'error' 'error'
) )
); );

2
react/src/components/dashboard/jumblr/jumblr.js

@ -18,7 +18,7 @@ import Store from '../../../store';
import Config from '../../../config'; import Config from '../../../config';
import { import {
JumblrRender, JumblrRender,
JumblrRenderSecretAddressList JumblrRenderSecretAddressList,
} from './jumblr.render'; } from './jumblr.render';
import { PassPhraseGenerator } from '../../../util/crypto/passphrasegenerator'; import { PassPhraseGenerator } from '../../../util/crypto/passphrasegenerator';

1
react/src/components/dashboard/jumblr/jumblr.render.js

@ -398,7 +398,6 @@ export const JumblrRender = function() {
</p> </p>
<p>{ translate('JUMBLR.SECRET_REGEN_DESC_P3') }</p> <p>{ translate('JUMBLR.SECRET_REGEN_DESC_P3') }</p>
<p>{ translate('JUMBLR.SECRET_REGEN_DESC_P4') }</p> <p>{ translate('JUMBLR.SECRET_REGEN_DESC_P4') }</p>
{ this.state.jumblrDepositAddressPBased && { this.state.jumblrDepositAddressPBased &&
<div className="padding-bottom-20 padding-top-20"> <div className="padding-bottom-20 padding-top-20">
<label>{ translate('INDEX.PASSPHRASE') }</label> <label>{ translate('INDEX.PASSPHRASE') }</label>

6
react/src/util/coinHelper.js

@ -6,6 +6,10 @@ export function getCoinTitle(coin) {
let hideTitle = false; let hideTitle = false;
switch (coin) { switch (coin) {
case 'HUSH':
coinlogo = 'hush';
coinname = 'Hush';
break;
case 'BCH': case 'BCH':
coinlogo = 'bch'; coinlogo = 'bch';
coinname = 'BitcoinCash'; coinname = 'BitcoinCash';
@ -75,7 +79,7 @@ export function getCoinTitle(coin) {
coinname = 'Syscoin'; coinname = 'Syscoin';
break; break;
case 'ZEC': case 'ZEC':
coinlogo = 'zcash'; coinlogo = 'zec';
coinname = 'Zcash'; coinname = 'Zcash';
break; break;
case 'NMC': case 'NMC':

Loading…
Cancel
Save