update imports
This commit is contained in:
+2
-2
@@ -45,7 +45,7 @@ import {ProfileKnownFollowersScreen} from '#/screens/Profile/KnownFollowers'
|
|||||||
import {ProfileLabelerLikedByScreen} from '#/screens/Profile/ProfileLabelerLikedBy'
|
import {ProfileLabelerLikedByScreen} from '#/screens/Profile/ProfileLabelerLikedBy'
|
||||||
import {StarterPackScreen} from '#/screens/StarterPack/StarterPackScreen'
|
import {StarterPackScreen} from '#/screens/StarterPack/StarterPackScreen'
|
||||||
import {Wizard} from '#/screens/StarterPack/Wizard'
|
import {Wizard} from '#/screens/StarterPack/Wizard'
|
||||||
import {GetReferrerModule} from '../modules/expo-get-referrer/src/ExpoGetReferrerModule'
|
import {Referrer} from '../modules/expo-bluesky-swiss-army'
|
||||||
import {init as initAnalytics} from './lib/analytics/analytics'
|
import {init as initAnalytics} from './lib/analytics/analytics'
|
||||||
import {useWebScrollRestoration} from './lib/hooks/useWebScrollRestoration'
|
import {useWebScrollRestoration} from './lib/hooks/useWebScrollRestoration'
|
||||||
import {attachRouteToLogEvents, logEvent} from './lib/statsig/statsig'
|
import {attachRouteToLogEvents, logEvent} from './lib/statsig/statsig'
|
||||||
@@ -757,7 +757,7 @@ function logModuleInitTime() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
if (isWeb) {
|
if (isWeb) {
|
||||||
GetReferrerModule.getReferrerInfoAsync().then(info => {
|
Referrer.getReferrerInfoAsync().then(info => {
|
||||||
if (info && info.hostname !== 'bsky.app') {
|
if (info && info.hostname !== 'bsky.app') {
|
||||||
logEvent('deepLink:referrerReceived', {
|
logEvent('deepLink:referrerReceived', {
|
||||||
referrer: info?.referrer,
|
referrer: info?.referrer,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {isNative} from 'platform/detection'
|
|||||||
import {useSession} from 'state/session'
|
import {useSession} from 'state/session'
|
||||||
import {useComposerControls} from 'state/shell'
|
import {useComposerControls} from 'state/shell'
|
||||||
import {useCloseAllActiveElements} from 'state/util'
|
import {useCloseAllActiveElements} from 'state/util'
|
||||||
import {GetReferrerModule} from '../../../modules/expo-get-referrer/src/ExpoGetReferrerModule'
|
import {Referrer} from '../../../modules/expo-bluesky-swiss-army'
|
||||||
|
|
||||||
type IntentType = 'compose'
|
type IntentType = 'compose'
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ export function useIntentHandler() {
|
|||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
const handleIncomingURL = (url: string) => {
|
const handleIncomingURL = (url: string) => {
|
||||||
GetReferrerModule.getReferrerInfoAsync().then(info => {
|
Referrer.getReferrerInfoAsync().then(info => {
|
||||||
if (info && info.hostname !== 'bsky.app') {
|
if (info && info.hostname !== 'bsky.app') {
|
||||||
logEvent('deepLink:referrerReceived', {
|
logEvent('deepLink:referrerReceived', {
|
||||||
referrer: info?.referrer,
|
referrer: info?.referrer,
|
||||||
|
|||||||
Reference in New Issue
Block a user