mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +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 handleUseCoin = async u => {
|
||||
await bottomModalRef.current?.dismiss();
|
||||
setOutput(null);
|
||||
navigation.pop();
|
||||
onUTXOChoose(u);
|
||||
|
@ -422,7 +421,14 @@ const CoinControl = () => {
|
|||
backgroundColor={colors.elevated}
|
||||
footer={
|
||||
<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>
|
||||
}
|
||||
footerDefaultMargins
|
||||
|
|
Loading…
Add table
Reference in a new issue