From a49a5a351d2b58631d067c0524c5ebb097a3d5fe Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 9 Apr 2024 00:58:18 +0100 Subject: Use ALF for the embed consent modal (#3336) --- src/state/modals/index.tsx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/state/modals/index.tsx') 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<{ -- cgit 1.4.1