mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
FIX: TX status screen would jump to home screen
This commit is contained in:
parent
df9c7b2811
commit
21fa1954de
@ -205,7 +205,9 @@ export const TransactionListItem: React.FC<TransactionListItemProps> = React.mem
|
||||
const onPress = useCallback(async () => {
|
||||
menuRef?.current?.dismissMenu?.();
|
||||
if (item.hash) {
|
||||
pop();
|
||||
if (renderHighlightedText) {
|
||||
pop();
|
||||
}
|
||||
navigate('TransactionStatus', { hash: item.hash, walletID });
|
||||
} else if (item.type === 'user_invoice' || item.type === 'payment_request' || item.type === 'paid_invoice') {
|
||||
const lightningWallet = wallets.filter(wallet => wallet?.getID() === item.walletID);
|
||||
@ -239,7 +241,7 @@ export const TransactionListItem: React.FC<TransactionListItemProps> = React.mem
|
||||
});
|
||||
}
|
||||
}
|
||||
}, [item, wallets, navigate, walletID]);
|
||||
}, [item, renderHighlightedText, navigate, walletID, wallets]);
|
||||
|
||||
const handleOnExpandNote = useCallback(() => {
|
||||
setSubtitleNumberOfLines(0);
|
||||
|
Loading…
Reference in New Issue
Block a user