diff --git a/frontends/web/src/routes/account/receive/receive.jsx b/frontends/web/src/routes/account/receive/receive.jsx index 72e23bb38b..57ace3287b 100644 --- a/frontends/web/src/routes/account/receive/receive.jsx +++ b/frontends/web/src/routes/account/receive/receive.jsx @@ -120,7 +120,6 @@ export default class Receive extends Component { render({ t, - coinCode, code, }, { verifying, @@ -129,30 +128,40 @@ export default class Receive extends Component { paired, }) { let uriPrefix = 'bitcoin:'; - if (coinCode === 'ltc' || coinCode === 'tltc') { + if (code.startsWith('ltc') || code.startsWith('tltc')) { uriPrefix = 'litecoin:'; + } else if (code.startsWith('eth') || code.startsWith('teth')) { + uriPrefix = ''; } const content = receiveAddresses ? (
{`${t('receive.label')} (${activeIndex + 1}/${receiveAddresses.length})`}
- + { + receiveAddresses.length > 1 && ( + + ) + } +{t('receive.label')} { receiveAddresses.length > 1 ? `(${activeIndex + 1}/${receiveAddresses.length})` : ''}
+ { + receiveAddresses.length > 1 && ( + + ) + }