diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-01-12 10:19:56 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-12 10:19:56 -0800 |
commit | 998ee2998657e82395fe4462809c376ffbd03ed8 (patch) | |
tree | 4eb3930734b939c0cfaa36f39a84fd27ca3a831c /src/state/modals/index.tsx | |
parent | b147f7ae8a5c8c3a1ec9981132b4c6447034963f (diff) | |
download | voidsky-998ee2998657e82395fe4462809c376ffbd03ed8.tar.zst |
(optional) In app browser (#2490)
* add expo web browser + modal * add in app browser option to settings * don't show toggle on web * Tweak browser-choice UIs --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Diffstat (limited to 'src/state/modals/index.tsx')
-rw-r--r-- | src/state/modals/index.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx index 8c32c472a..45856e108 100644 --- a/src/state/modals/index.tsx +++ b/src/state/modals/index.tsx @@ -187,6 +187,11 @@ export interface EmbedConsentModal { onAccept: () => void } +export interface InAppBrowserConsentModal { + name: 'in-app-browser-consent' + href: string +} + export type Modal = // Account | AddAppPasswordModal @@ -231,6 +236,7 @@ export type Modal = | ConfirmModal | LinkWarningModal | EmbedConsentModal + | InAppBrowserConsentModal const ModalContext = React.createContext<{ isModalActive: boolean |