π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[desktop] Prevent accidental dismissal of auto update dialog
Manav Rathi9fc07b592be2
diff --git a/web/apps/photos/src/utils/ui/index.tsx b/web/apps/photos/src/utils/ui/index.tsxindex 562a753fd9..8ac5f94bfe 100644--- a/web/apps/photos/src/utils/ui/index.tsx+++ b/web/apps/photos/src/utils/ui/index.tsx@@ -68,6 +68,7 @@ export const getUpdateReadyToInstallMessage = ({variant: "secondary",action: () => ensureElectron().updateOnNextRestart(version),},+ staticBackdrop: true,});export const getUpdateAvailableForDownloadMessage = ({diff --git a/web/packages/shared/components/DialogBox/types.ts b/web/packages/shared/components/DialogBox/types.tsindex 6d076fd5ab..08b52fe4c3 100644--- a/web/packages/shared/components/DialogBox/types.ts+++ b/web/packages/shared/components/DialogBox/types.ts@@ -3,6 +3,10 @@ import { ButtonProps } from "@mui/material";export interface DialogBoxAttributes {icon?: React.ReactNode;title?: string;+ /**+ * Set this to `true` to prevent the dialog from being closed when the user+ * clicks the backdrop outside the dialog.+ */staticBackdrop?: boolean;nonClosable?: boolean;content?: any;