diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-10-12 02:42:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-11 16:42:58 -0700 |
commit | d6322477fea0a55f1dd0c49865a248cb2f578f75 (patch) | |
tree | 1453d76eca95a8f6c86c4954d4180920dea0f830 /src/components/Link.tsx | |
parent | 8e16427497dc1d0b288e889c4a4a72abbfdf5a7e (diff) | |
download | voidsky-d6322477fea0a55f1dd0c49865a248cb2f578f75.tar.zst |
Present in-app browser as sheet (#5718)
* use page sheet presentation * move to its own file rather than sitting in prefs * whoops, missed one
Diffstat (limited to 'src/components/Link.tsx')
-rw-r--r-- | src/components/Link.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Link.tsx b/src/components/Link.tsx index 447833a23..fa8fa0cc3 100644 --- a/src/components/Link.tsx +++ b/src/components/Link.tsx @@ -10,6 +10,7 @@ import {StackActions, useLinkProps} from '@react-navigation/native' import {BSKY_DOWNLOAD_URL} from '#/lib/constants' import {useNavigationDeduped} from '#/lib/hooks/useNavigationDeduped' +import {useOpenLink} from '#/lib/hooks/useOpenLink' import {AllNavigatorParams} from '#/lib/routes/types' import {shareUrl} from '#/lib/sharing' import { @@ -21,7 +22,6 @@ import { import {isNative, isWeb} from '#/platform/detection' import {shouldClickOpenNewTab} from '#/platform/urls' import {useModalControls} from '#/state/modals' -import {useOpenLink} from '#/state/preferences/in-app-browser' import {atoms as a, flatten, TextStyleProp, useTheme, web} from '#/alf' import {Button, ButtonProps} from '#/components/Button' import {useInteractionState} from '#/components/hooks/useInteractionState' |