diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-06-18 16:17:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-18 06:17:54 -0700 |
commit | 4da86e5864e10b14880900b78cb94d33c199b7da (patch) | |
tree | 2ace2cc361d2c84a145b9e163c06733f0b6ef241 /src/view/shell | |
parent | dd86402763518ae94ced8274dda886f92ec7b51e (diff) | |
download | voidsky-4da86e5864e10b14880900b78cb94d33c199b7da.tar.zst |
Modernise link warning dialog (#8243)
* add link warning dialog * add copy for if sharing * delete old modal * get web working
Diffstat (limited to 'src/view/shell')
-rw-r--r-- | src/view/shell/index.tsx | 2 | ||||
-rw-r--r-- | src/view/shell/index.web.tsx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx index cd328c457..8c08ec0c0 100644 --- a/src/view/shell/index.tsx +++ b/src/view/shell/index.tsx @@ -27,6 +27,7 @@ import {atoms as a, select, useTheme} from '#/alf' import {setSystemUITheme} from '#/alf/util/systemUI' import {EmailDialog} from '#/components/dialogs/EmailDialog' import {InAppBrowserConsentDialog} from '#/components/dialogs/InAppBrowserConsent' +import {LinkWarningDialog} from '#/components/dialogs/LinkWarning' import {MutedWordsDialog} from '#/components/dialogs/MutedWords' import {SigninDialog} from '#/components/dialogs/Signin' import {Outlet as PortalOutlet} from '#/components/Portal' @@ -155,6 +156,7 @@ function ShellInner() { <SigninDialog /> <EmailDialog /> <InAppBrowserConsentDialog /> + <LinkWarningDialog /> <Lightbox /> <PortalOutlet /> <BottomSheetOutlet /> diff --git a/src/view/shell/index.web.tsx b/src/view/shell/index.web.tsx index a7ff76d61..8969d68f8 100644 --- a/src/view/shell/index.web.tsx +++ b/src/view/shell/index.web.tsx @@ -18,6 +18,7 @@ import {ModalsContainer} from '#/view/com/modals/Modal' import {ErrorBoundary} from '#/view/com/util/ErrorBoundary' import {atoms as a, select, useTheme} from '#/alf' import {EmailDialog} from '#/components/dialogs/EmailDialog' +import {LinkWarningDialog} from '#/components/dialogs/LinkWarning' import {MutedWordsDialog} from '#/components/dialogs/MutedWords' import {SigninDialog} from '#/components/dialogs/Signin' import {Outlet as PortalOutlet} from '#/components/Portal' @@ -69,6 +70,7 @@ function ShellInner() { <MutedWordsDialog /> <SigninDialog /> <EmailDialog /> + <LinkWarningDialog /> <Lightbox /> <PortalOutlet /> |