From 88b32efa973f411b954bd59f656ad40cc2d085d0 Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Sat, 13 Sep 2025 11:10:24 +0200 Subject: [PATCH] Reflect password length in the hidden asterisks password display (#1204) --- apps/mobile-app/components/form/FormInputCopyToClipboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile-app/components/form/FormInputCopyToClipboard.tsx b/apps/mobile-app/components/form/FormInputCopyToClipboard.tsx index d0d3ed5db..cfa6af934 100644 --- a/apps/mobile-app/components/form/FormInputCopyToClipboard.tsx +++ b/apps/mobile-app/components/form/FormInputCopyToClipboard.tsx @@ -135,7 +135,7 @@ const FormInputCopyToClipboard: React.FC = ({ }; const displayValue = type === 'password' && !isPasswordVisible - ? '••••••••' + ? '•'.repeat(value?.length || 0) : value; const styles = StyleSheet.create({