mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
FIX: verify allowBIP47() first
This commit is contained in:
parent
64ab135250
commit
946ce71830
2 changed files with 2 additions and 2 deletions
|
@ -441,7 +441,7 @@ const ReceiveDetails = () => {
|
|||
|
||||
return (
|
||||
<ScrollView contentContainerStyle={[styles.root, stylesHook.root]} keyboardShouldPersistTaps="always">
|
||||
{wallet.isBIP47Enabled() && (
|
||||
{wallet?.allowBIP47() && wallet.isBIP47Enabled() && (
|
||||
<View style={styles.tabsContainer}>
|
||||
<SegmentedControl
|
||||
values={Object.values(segmentControlValues).map(tab => tab)}
|
||||
|
|
|
@ -1309,7 +1309,7 @@ const SendDetails = () => {
|
|||
<BottomModal isVisible={optionsVisible} onClose={hideOptions}>
|
||||
<KeyboardAvoidingView enabled={!isTablet} behavior={undefined}>
|
||||
<View style={[styles.optionsContent, stylesHook.optionsContent]}>
|
||||
{wallet?.isBIP47Enabled() && (
|
||||
{wallet?.allowBIP47() && wallet.isBIP47Enabled() && (
|
||||
<ListItem testID="InsertContactButton" title={loc.send.details_insert_contact} hideChevron onPress={handleInsertContact} />
|
||||
)}
|
||||
{isEditable && (
|
||||
|
|
Loading…
Add table
Reference in a new issue