From a9ab13e5a936c4d917b878bd53f4e536fa8c95f8 Mon Sep 17 00:00:00 2001 From: Hailey Date: Tue, 6 Feb 2024 10:06:25 -0800 Subject: password flow improvements (#2730) * add button to skip sending reset code * add validation to reset code * comments * update test id * consistency sneak in - everything capitalized * add change password button to settings * create a modal for password change * change password modal * remove unused styles * more improvements * improve layout * change done button color * add already have a code to modal * remove unused prop * icons, auto add dash * cleanup * better appearance on android * Remove log * Improve error messages and add specificity to function names --------- Co-authored-by: Paul Frazee --- src/view/com/modals/Modal.web.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/view/com/modals/Modal.web.tsx') diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index d79663746..384a4772a 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -34,6 +34,7 @@ import * as ModerationDetailsModal from './ModerationDetails' import * as BirthDateSettingsModal from './BirthDateSettings' import * as VerifyEmailModal from './VerifyEmail' import * as ChangeEmailModal from './ChangeEmail' +import * as ChangePasswordModal from './ChangePassword' import * as LinkWarningModal from './LinkWarning' import * as EmbedConsentModal from './EmbedConsent' @@ -134,6 +135,8 @@ function Modal({modal}: {modal: ModalIface}) { element = } else if (modal.name === 'change-email') { element = + } else if (modal.name === 'change-password') { + element = } else if (modal.name === 'link-warning') { element = } else if (modal.name === 'embed-consent') { -- cgit 1.4.1