Update TransactionsNavigationHeader.tsx

This commit is contained in:
Marcos Rodriguez Velez 2024-09-27 02:14:53 -04:00
parent 026e365fb6
commit afe0766617

View File

@ -240,7 +240,7 @@ const TransactionsNavigationHeader: React.FC<TransactionsNavigationHeaderProps>
</ToolTipMenu>
<TouchableOpacity style={styles.walletPreferredUnitView} onPress={changeWalletBalanceUnit}>
<Text style={styles.walletPreferredUnitText}>
{unit === BitcoinUnit.LOCAL_CURRENCY ? preferredFiatCurrency?.endPointKey ?? FiatUnit.USD : unit}
{unit === BitcoinUnit.LOCAL_CURRENCY ? (preferredFiatCurrency?.endPointKey ?? FiatUnit.USD) : unit}
</Text>
</TouchableOpacity>
</View>
@ -256,11 +256,7 @@ const TransactionsNavigationHeader: React.FC<TransactionsNavigationHeaderProps>
</ToolTipMenu>
)}
{wallet.type === MultisigHDWallet.type && (
<TouchableOpacity
style={styles.manageFundsButton}
accessibilityRole="button"
onPress={() => handleManageFundsPressed()}
>
<TouchableOpacity style={styles.manageFundsButton} accessibilityRole="button" onPress={() => handleManageFundsPressed()}>
<Text style={styles.manageFundsButtonText}>{loc.multisig.manage_keys}</Text>
</TouchableOpacity>
)}
@ -358,4 +354,4 @@ export const actionIcons = {
},
};
export default TransactionsNavigationHeader;
export default TransactionsNavigationHeader;