Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Reflect password length in the hidden asterisks password display (#1204)

Leendert de Borst88b32efa973f
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<FormInputCopyToClipboardProps> = ({
};
const displayValue = type === 'password' && !isPasswordVisible
- ? '••••••••'
+ ? '•'.repeat(value?.length || 0)
: value;
const styles = StyleSheet.create({