fix contact imports after expo 57

This commit is contained in:
Samuel Newman
2026-09-04 12:23:20 +03:00
parent f69ad16fed
commit 290839cefb
4 changed files with 4 additions and 4 deletions
@@ -1,7 +1,7 @@
import {useContext} from 'react'
import {Alert, View} from 'react-native'
import {useSafeAreaInsets} from 'react-native-safe-area-context'
import * as Contacts from 'expo-contacts'
import * as Contacts from 'expo-contacts/legacy'
import {type Un$Typed} from '@atproto/lex'
import {type Client} from '@atproto/lex'
import {toDatetimeString} from '@atproto/syntax'
+1 -1
View File
@@ -1,6 +1,6 @@
import {createContext, useContext, useReducer} from 'react'
import {type GestureResponderEvent} from 'react-native'
import {type ExistingContact} from 'expo-contacts'
import {type ExistingContact} from 'expo-contacts/legacy'
import {type CountryCode} from '#/lib/international-telephone-codes'
import type * as bsky from '#/types/bsky'
@@ -1,5 +1,5 @@
import {View} from 'react-native'
import * as Contacts from 'expo-contacts'
import * as Contacts from 'expo-contacts/legacy'
import {msg} from '@lingui/core/macro'
import {useLingui} from '@lingui/react'
import {Trans} from '@lingui/react/macro'
@@ -1,6 +1,6 @@
import {useCallback, useEffect, useState} from 'react'
import {type ListRenderItemInfo, View} from 'react-native'
import * as Contacts from 'expo-contacts'
import * as Contacts from 'expo-contacts/legacy'
import {type DidString} from '@atproto/syntax'
import {type ModerationOpts} from '@bsky/sdk/moderation'
import {msg} from '@lingui/core/macro'