mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-11 17:03:33 -04:00
Reflect password length in the hidden asterisks password display (#1204)
This commit is contained in:
committed by
Leendert de Borst
parent
03f692a62f
commit
88b32efa97
@@ -135,7 +135,7 @@ const FormInputCopyToClipboard: React.FC<FormInputCopyToClipboardProps> = ({
|
||||
};
|
||||
|
||||
const displayValue = type === 'password' && !isPasswordVisible
|
||||
? '••••••••'
|
||||
? '•'.repeat(value?.length || 0)
|
||||
: value;
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
|
||||
Reference in New Issue
Block a user