Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

refractor(AppLock):remove-confirm-button-for-pin

Aswin Asokb463d1b963a1
diff --git a/web/packages/new/photos/components/AppLockOverlay.tsx b/web/packages/new/photos/components/AppLockOverlay.tsx
index 8b2f19d25f..02bc8b6a6a 100644
--- a/web/packages/new/photos/components/AppLockOverlay.tsx
+++ b/web/packages/new/photos/components/AppLockOverlay.tsx
@@ -854,26 +854,6 @@ const PinUnlockForm: React.FC<UnlockFormProps> = ({
))}
</Stack>
- <FocusVisibleButton
- fullWidth
- color="accent"
- disabled={fullPin.length !== 4 || loading}
- onClick={() => {
- void handleSubmit();
- }}
- sx={(theme) => ({
- ...primaryActionButtonSx(theme),
- mt: 2,
- })}
- >
- {loading ? (
- <CircularProgress size={18} color="inherit" />
- ) : isReauthentication ? (
- t("authenticate")
- ) : (
- t("unlock")
- )}
- </FocusVisibleButton>
</Stack>
</AppLockCard>