Update coinControl.js

This commit is contained in:
Marcos Rodriguez Velez 2024-07-14 16:38:14 -04:00
parent b46f7cc234
commit be5afdca10
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -241,10 +241,6 @@ const OutputModalContent = ({ output, wallet, onUseCoin, frozen, setFrozen }) =>
switch={switchValue}
/>
<BlueSpacing20 />
<View style={mStyles.buttonContainer}>
<Button testID="UseCoin" title={loc.cc.use_coin} onPress={() => onUseCoin([output])} />
</View>
<BlueSpacing20 />
</>
);
};
@ -424,6 +420,11 @@ const CoinControl = () => {
setOutput(false);
}}
backgroundColor={colors.elevated}
footer={
<View style={mStyles.buttonContainer}>
<Button testID="UseCoin" title={loc.cc.use_coin} onPress={() => handleUseCoin([output])} />
</View>
}
contentContainerStyle={styles.modalContent}
>
{output && renderOutputModalContent()}