|
8 | 8 | import React from 'react';
|
9 | 9 | import { View } from 'react-native';
|
10 | 10 | import { connect } from 'react-redux';
|
11 |
| -import { t, ngettext, msgid } from 'ttag'; |
12 |
| - |
| 11 | +import { t } from 'ttag'; |
13 | 12 | import hathorLib from '@hathor/wallet-lib';
|
14 |
| -import { bigIntCoercibleSchema } from '@hathor/wallet-lib/lib/utils/bigint'; |
15 | 13 | import NewHathorButton from '../components/NewHathorButton';
|
16 | 14 | import SimpleInput from '../components/SimpleInput';
|
17 | 15 | import AmountTextInput from '../components/AmountTextInput';
|
@@ -67,7 +65,6 @@ class SendConfirmScreen extends React.Component {
|
67 | 65 | * @param {String} pin User PIN already validated
|
68 | 66 | */
|
69 | 67 | executeSend = async (pin) => {
|
70 |
| - // The amount is already a BigInt from the previous screen |
71 | 68 | const outputs = [{ address: this.address, value: this.amount, token: this.token.uid }];
|
72 | 69 | let sendTransaction;
|
73 | 70 |
|
@@ -125,7 +122,7 @@ class SendConfirmScreen extends React.Component {
|
125 | 122 | const balance = this.props.tokensBalance[this.token.uid].data;
|
126 | 123 | const available = balance ? balance.available : 0;
|
127 | 124 | const amountAndToken = `${renderValue(available, this.isNFT)} ${this.token.symbol}`;
|
128 |
| - return `${amountAndToken} available`; |
| 125 | + return t`${amountAndToken} available`; |
129 | 126 | };
|
130 | 127 |
|
131 | 128 | const tokenNameUpperCase = this.token.name.toUpperCase();
|
|
0 commit comments