Merge pull request #7516 from BlueWallet/sele

FIX: Allow text to be selectable
This commit is contained in:
GLaDOS 2025-01-26 08:32:01 +00:00 committed by GitHub
commit 791cbd5f94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
import { RouteProp, useFocusEffect, useNavigation, useRoute } from '@react-navigation/native'; import { RouteProp, useFocusEffect, useNavigation, useRoute } from '@react-navigation/native';
import React, { useCallback, useMemo, useReducer, useRef } from 'react'; import React, { useCallback, useMemo, useReducer, useRef } from 'react';
import { ActivityIndicator, InteractionManager, ScrollView, StyleSheet, TextInput, View } from 'react-native'; import { ActivityIndicator, InteractionManager, ScrollView, StyleSheet, Text, View } from 'react-native';
import { BlueSpacing20, BlueText } from '../../BlueComponents'; import { BlueSpacing20, BlueText } from '../../BlueComponents';
import { TWallet } from '../../class/wallets/types'; import { TWallet } from '../../class/wallets/types';
import { DynamicQRCode } from '../../components/DynamicQRCode'; import { DynamicQRCode } from '../../components/DynamicQRCode';
@ -178,9 +178,9 @@ const ExportMultisigCoordinationSetup: React.FC = () => {
)} )}
<BlueSpacing20 /> <BlueSpacing20 />
<TextInput multiline editable={false} style={[styles.secret, stylesHook.secret]}> <Text selectable style={[styles.secret, stylesHook.secret]}>
{xpub} {xpub}
</TextInput> </Text>
</> </>
) : null; ) : null;