mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
Merge branch 'master' into alerttit
This commit is contained in:
commit
3c0790c8b6
@ -38,7 +38,7 @@ interface SelectFeeModalProps {
|
||||
}
|
||||
|
||||
const SelectFeeModal = forwardRef<BottomModalHandle, SelectFeeModalProps>(
|
||||
({ networkTransactionFees, feePrecalc, feeRate, setCustomFee, setFeePrecalc, feeUnit }, ref) => {
|
||||
({ networkTransactionFees, feePrecalc, feeRate, setCustomFee, setFeePrecalc, feeUnit = BitcoinUnit.BTC }, ref) => {
|
||||
const [customFee, setCustomFeeState] = useState('');
|
||||
const feeModalRef = useRef<BottomModalHandle>(null);
|
||||
const customModalRef = useRef<BottomModalHandle>(null);
|
||||
@ -139,7 +139,7 @@ const SelectFeeModal = forwardRef<BottomModalHandle, SelectFeeModalProps>(
|
||||
},
|
||||
];
|
||||
|
||||
const formatFee = (fee: number) => formatBalance(fee, feeUnit!, true);
|
||||
const formatFee = (fee: number) => formatBalance(fee, feeUnit, true);
|
||||
|
||||
const handleCustomFeeSubmit = async () => {
|
||||
if (!/^\d+$/.test(customFee) || Number(customFee) <= 0) {
|
||||
|
@ -1641,7 +1641,7 @@ PODS:
|
||||
- React
|
||||
- RNRate (1.2.12):
|
||||
- React-Core
|
||||
- RNReactNativeHapticFeedback (2.3.2):
|
||||
- RNReactNativeHapticFeedback (2.3.3):
|
||||
- DoubleConversion
|
||||
- glog
|
||||
- hermes-engine
|
||||
@ -2215,7 +2215,7 @@ SPEC CHECKSUMS:
|
||||
RNPrivacySnapshot: 71919dde3c6a29dd332115409c2aec564afee8f4
|
||||
RNQuickAction: 6d404a869dc872cde841ad3147416a670d13fa93
|
||||
RNRate: ef3bcff84f39bb1d1e41c5593d3eea4aab2bd73a
|
||||
RNReactNativeHapticFeedback: 9b35ff960958c399b03581140fa2d1499c09c8b6
|
||||
RNReactNativeHapticFeedback: 0d591ea1e150f36cb96d868d4e8d77272243d78a
|
||||
RNReanimated: ece067b779e0d6c7887c6bb80d381d0a0efd43c9
|
||||
RNScreens: 19719a9c326e925498ac3b2d35c4e50fe87afc06
|
||||
RNShare: 0fad69ae2d71de9d1f7b9a43acf876886a6cb99c
|
||||
|
@ -1371,7 +1371,7 @@ const SendDetails = () => {
|
||||
feeRate={feeRate}
|
||||
setCustomFee={setCustomFee}
|
||||
setFeePrecalc={setFeePrecalc}
|
||||
feeUnit={feeUnit || BitcoinUnit.BTC}
|
||||
feeUnit={units[scrollIndex.current]}
|
||||
/>
|
||||
</View>
|
||||
<DismissKeyboardInputAccessory />
|
||||
|
Loading…
Reference in New Issue
Block a user