mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-13 19:16:52 +01:00
wip
This commit is contained in:
parent
0964c1843a
commit
c4bca5e1c5
2 changed files with 7 additions and 5 deletions
|
@ -3,7 +3,7 @@ import dayjs from 'dayjs';
|
|||
import localizedFormat from 'dayjs/plugin/localizedFormat';
|
||||
import PropTypes from 'prop-types';
|
||||
import React, { Component } from 'react';
|
||||
import { Image, LayoutAnimation, Pressable, StyleSheet, TextInput, TouchableOpacity, TouchableWithoutFeedback, View } from 'react-native';
|
||||
import { Image, LayoutAnimation, Pressable, StyleSheet, TextInput, TouchableOpacity, View } from 'react-native';
|
||||
import { Badge, Icon, Text } from '@rneui/themed';
|
||||
|
||||
import {
|
||||
|
@ -254,7 +254,7 @@ class AmountInput extends Component {
|
|||
});
|
||||
|
||||
return (
|
||||
<TouchableWithoutFeedback
|
||||
<Pressable
|
||||
accessibilityRole="button"
|
||||
accessibilityLabel={loc._.enter_amount}
|
||||
disabled={this.props.pointerEvents === 'none'}
|
||||
|
@ -340,7 +340,7 @@ class AmountInput extends Component {
|
|||
</View>
|
||||
)}
|
||||
</>
|
||||
</TouchableWithoutFeedback>
|
||||
</Pressable>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ interface IPaymentDestinations {
|
|||
amountSats?: number | string;
|
||||
amount?: string | number | 'MAX';
|
||||
key: string; // random id to look up this record
|
||||
unit?: BitcoinUnit;
|
||||
unit: BitcoinUnit;
|
||||
}
|
||||
|
||||
interface IFee {
|
||||
|
@ -101,7 +101,9 @@ const SendDetails = () => {
|
|||
const [wallet, setWallet] = useState<TWallet | null>(null);
|
||||
const feeModalRef = useRef<BottomModalHandle>(null);
|
||||
const { isVisible } = useKeyboard();
|
||||
const [addresses, setAddresses] = useState<IPaymentDestinations[]>([]);
|
||||
const [addresses, setAddresses] = useState<IPaymentDestinations[]>([
|
||||
{ address: '', key: String(Math.random()), unit: amountUnit } as IPaymentDestinations,
|
||||
]);
|
||||
const [networkTransactionFees, setNetworkTransactionFees] = useState(new NetworkTransactionFee(3, 2, 1));
|
||||
const [networkTransactionFeesIsLoading, setNetworkTransactionFeesIsLoading] = useState(false);
|
||||
const [customFee, setCustomFee] = useState<string | null>(null);
|
||||
|
|
Loading…
Add table
Reference in a new issue