diff options
Diffstat (limited to 'src/view/screens/Settings/index.tsx')
-rw-r--r-- | src/view/screens/Settings/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/screens/Settings/index.tsx b/src/view/screens/Settings/index.tsx index 790ce5ee9..830a73ff2 100644 --- a/src/view/screens/Settings/index.tsx +++ b/src/view/screens/Settings/index.tsx @@ -10,13 +10,13 @@ import { View, ViewStyle, } from 'react-native' +import {setStringAsync} from 'expo-clipboard' import { FontAwesomeIcon, FontAwesomeIconStyle, } from '@fortawesome/react-native-fontawesome' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import Clipboard from '@react-native-clipboard/clipboard' import {useFocusEffect, useNavigation} from '@react-navigation/native' import {useQueryClient} from '@tanstack/react-query' @@ -245,7 +245,7 @@ export function SettingsScreen({}: Props) { }, [onboardingDispatch, _]) const onPressBuildInfo = React.useCallback(() => { - Clipboard.setString( + setStringAsync( `Build version: ${AppInfo.appVersion}; Platform: ${Platform.OS}`, ) Toast.show(_(msg`Copied build version to clipboard`)) |