From eafeb56e90a227c40507b5dc7823cb695b46207c Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Thu, 23 Mar 2023 20:07:05 +0400 Subject: [PATCH] [DE mobile] Correct fields in protection settings --- .../src/view/settings/DocumentProtection.jsx | 44 ++++++++----------- 1 file changed, 18 insertions(+), 26 deletions(-) diff --git a/apps/documenteditor/mobile/src/view/settings/DocumentProtection.jsx b/apps/documenteditor/mobile/src/view/settings/DocumentProtection.jsx index 7769c0d62a..5f5d67d43b 100644 --- a/apps/documenteditor/mobile/src/view/settings/DocumentProtection.jsx +++ b/apps/documenteditor/mobile/src/view/settings/DocumentProtection.jsx @@ -54,34 +54,26 @@ const ProtectionDocumentView = inject("storeAppOptions")(observer(props => { }} /> - {isRequirePassword && <> - {Device.android ? - - changePassword(e.target.value)} /> - changeRepeationPassword(e.target.value)} /> - - : - - changePassword(e.target.value)} - className={isIos ? 'list-input-right' : ''} - /> - changeRepeationPassword(e.target.value)} - className={isIos ? 'list-input-right' : ''} - /> - - } + + changePassword(e.target.value)} + className={isIos ? 'list-input-right' : ''} + /> + changeRepeationPassword(e.target.value)} + className={isIos ? 'list-input-right' : ''} + /> +

If the password is forgotten or lost, it cannot be recovered.