π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Clean up app lock error layout
Manav Rathic4fba806e687
diff --git a/web/apps/photos/src/components/app-lock/LockScreenContents.tsx b/web/apps/photos/src/components/app-lock/LockScreenContents.tsxindex 1e2582cff7..df118b111c 100644--- a/web/apps/photos/src/components/app-lock/LockScreenContents.tsx+++ b/web/apps/photos/src/components/app-lock/LockScreenContents.tsx@@ -42,11 +42,14 @@ export const AppLockScreen = ({ children }: PropsWithChildren) => ();interface LockScreenHeaderProps {- showLogout: boolean;+ showLogoutButton: boolean;onLogout: () => void;}-const LockScreenHeader = ({ showLogout, onLogout }: LockScreenHeaderProps) => (+const LockScreenHeader = ({+ showLogoutButton,+ onLogout,+}: LockScreenHeaderProps) => (<Boxsx={{position: "absolute",@@ -60,7 +63,7 @@ const LockScreenHeader = ({ showLogout, onLogout }: LockScreenHeaderProps) => (}}><EnteLogo />- {showLogout && (+ {showLogoutButton && (<FocusVisibleButtonvariant="text"color="secondary"@@ -84,7 +87,7 @@ export const LockScreenContents = () => (lockScreenMode="lock"renderHeader={({ showLogoutConfirm, showLogout }) => (<LockScreenHeader- showLogout={!showLogoutConfirm}+ showLogoutButton={!showLogoutConfirm}onLogout={showLogout}/>)}@@ -98,7 +101,7 @@ export const AppLockSetupError = ({ onRetry }: { onRetry: () => void }) => {return (<AppLockScreen><LockScreenHeader- showLogout={!showLogoutConfirm}+ showLogoutButton={!showLogoutConfirm}onLogout={() => setShowLogoutConfirm(true)}/>{showLogoutConfirm ? (@@ -110,11 +113,7 @@ export const AppLockSetupError = ({ onRetry }: { onRetry: () => void }) => {<AppLockCard><Stackspacing={0}- sx={{- width: 376,- maxWidth: "100%",- alignItems: "center",- }}+ sx={{ width: "100%", alignItems: "center" }}><ErrorOutlinedIconsx={{ fontSize: 48, color: "text.muted", mb: 3 }}