diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-04-09 00:58:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 00:58:18 +0100 |
commit | a49a5a351d2b58631d067c0524c5ebb097a3d5fe (patch) | |
tree | d199c7312763ac87848c2038c85ef8d6f846e7d2 /src/state/modals | |
parent | 2bc20b1752d455bc1ca48e5f8eb4bd670d22ec34 (diff) | |
download | voidsky-a49a5a351d2b58631d067c0524c5ebb097a3d5fe.tar.zst |
Use ALF for the embed consent modal (#3336)
Diffstat (limited to 'src/state/modals')
-rw-r--r-- | src/state/modals/index.tsx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx index e0bcc2f0f..cc0f9c8b8 100644 --- a/src/state/modals/index.tsx +++ b/src/state/modals/index.tsx @@ -3,7 +3,6 @@ import {Image as RNImage} from 'react-native-image-crop-picker' import {AppBskyActorDefs, AppBskyGraphDefs} from '@atproto/api' import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback' -import {EmbedPlayerSource} from '#/lib/strings/embed-player' import {GalleryModel} from '#/state/models/media/gallery' import {ImageModel} from '#/state/models/media/image' import {ThreadgateSetting} from '../queries/threadgate' @@ -125,12 +124,6 @@ export interface LinkWarningModal { share?: boolean } -export interface EmbedConsentModal { - name: 'embed-consent' - source: EmbedPlayerSource - onAccept: () => void -} - export interface InAppBrowserConsentModal { name: 'in-app-browser-consent' href: string @@ -169,7 +162,6 @@ export type Modal = // Generic | LinkWarningModal - | EmbedConsentModal | InAppBrowserConsentModal const ModalContext = React.createContext<{ |