π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Reorder
Manav Rathi7b20bbd5a21d
diff --git a/web/apps/accounts/src/pages/_app.tsx b/web/apps/accounts/src/pages/_app.tsxindex 890a6ba30b..4a0c9eb2fd 100644--- a/web/apps/accounts/src/pages/_app.tsx+++ b/web/apps/accounts/src/pages/_app.tsx@@ -26,21 +26,13 @@ import "styles/global.css";const App: React.FC<AppProps> = ({ Component, pageProps }) => {const [isI18nReady, setIsI18nReady] = useState<boolean>(false);-const [showNavbar, setShowNavbar] = useState(false);-const [dialogBoxAttributeV2, setDialogBoxAttributesV2] = useState<DialogBoxAttributesV2 | undefined>();-const [dialogBoxV2View, setDialogBoxV2View] = useState(false);- useEffect(() => {- setDialogBoxV2View(true);- }, [dialogBoxAttributeV2]);-const isMobile = useMediaQuery("(max-width: 428px)");-const router = useRouter();const [themeColor] = useLocalState(LS_KEYS.THEME, THEME_COLOR.DARK);@@ -52,6 +44,10 @@ const App: React.FC<AppProps> = ({ Component, pageProps }) => {return () => logUnhandledErrorsAndRejections(false);}, []);+ useEffect(() => {+ setDialogBoxV2View(true);+ }, [dialogBoxAttributeV2]);+const closeDialogBoxV2 = () => setDialogBoxV2View(false);const theme = getTheme(themeColor, "photos");