diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-04-25 00:41:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-24 16:41:11 -0500 |
commit | 8ec8a644727cd59ba475bb221fedbd51e7d93e7e (patch) | |
tree | cebbdde92bfc056577653053636fd53e0f21fc39 /src/state/modals/index.tsx | |
parent | 69f656f28300a6a33526020725c61cac78501cb0 (diff) | |
download | voidsky-8ec8a644727cd59ba475bb221fedbd51e7d93e7e.tar.zst |
Modernize in-app browser consent dialog (#8191)
* add stateful dialog control hook * add new alf'd consent * make secondary_inverted buttons clearer * contingency for opening a link from another dialog * rm old modal * Differentiate buttons more --------- Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/state/modals/index.tsx')
-rw-r--r-- | src/state/modals/index.tsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx index 45c4fb467..f79f6213f 100644 --- a/src/state/modals/index.tsx +++ b/src/state/modals/index.tsx @@ -66,11 +66,6 @@ export interface LinkWarningModal { share?: boolean } -export interface InAppBrowserConsentModal { - name: 'in-app-browser-consent' - href: string -} - export type Modal = // Account | DeleteAccountModal @@ -96,7 +91,6 @@ export type Modal = // Generic | LinkWarningModal - | InAppBrowserConsentModal const ModalContext = React.createContext<{ isModalActive: boolean |