mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
wip
This commit is contained in:
parent
ac9d66dbdb
commit
b77d6a6666
3 changed files with 4 additions and 9 deletions
|
@ -41,7 +41,6 @@ export const AddressInputScanButton = ({
|
|||
|
||||
const onMenuItemPressed = useCallback(
|
||||
(action: string) => {
|
||||
if (onBarScanned === undefined) throw new Error('onBarScanned is required');
|
||||
switch (action) {
|
||||
case actionKeys.ScanQR:
|
||||
scanButtonTapped();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -54,7 +54,7 @@ export type DetailViewStackParamList = {
|
|||
NetworkSettings: undefined;
|
||||
About: undefined;
|
||||
DefaultView: undefined;
|
||||
ElectrumSettings: { server: ElectrumServerItem };
|
||||
ElectrumSettings: { server?: ElectrumServerItem };
|
||||
EncryptStorage: undefined;
|
||||
Language: undefined;
|
||||
LightningSettings: {
|
||||
|
|
Loading…
Add table
Reference in a new issue