mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
FIX: Android Wallet Coin Control "Use Coins" button with checkbox selection does not work #7016
This commit is contained in:
parent
ee9c5d2e29
commit
b964ccb9ff
1 changed files with 8 additions and 2 deletions
|
@ -328,7 +328,6 @@ const CoinControl = () => {
|
||||||
const handleChoose = item => setOutput(item);
|
const handleChoose = item => setOutput(item);
|
||||||
|
|
||||||
const handleUseCoin = async u => {
|
const handleUseCoin = async u => {
|
||||||
await bottomModalRef.current?.dismiss();
|
|
||||||
setOutput(null);
|
setOutput(null);
|
||||||
navigation.pop();
|
navigation.pop();
|
||||||
onUTXOChoose(u);
|
onUTXOChoose(u);
|
||||||
|
@ -422,7 +421,14 @@ const CoinControl = () => {
|
||||||
backgroundColor={colors.elevated}
|
backgroundColor={colors.elevated}
|
||||||
footer={
|
footer={
|
||||||
<View style={mStyles.buttonContainer}>
|
<View style={mStyles.buttonContainer}>
|
||||||
<Button testID="UseCoin" title={loc.cc.use_coin} onPress={() => handleUseCoin([output])} />
|
<Button
|
||||||
|
testID="UseCoin"
|
||||||
|
title={loc.cc.use_coin}
|
||||||
|
onPress={async () => {
|
||||||
|
await bottomModalRef.current?.dismiss();
|
||||||
|
handleUseCoin([output]);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</View>
|
</View>
|
||||||
}
|
}
|
||||||
footerDefaultMargins
|
footerDefaultMargins
|
||||||
|
|
Loading…
Add table
Reference in a new issue