Merge branch 'Ullas-Aithal-feature/253'

This commit is contained in:
Jakob Nixdorf 2020-02-02 19:17:46 +01:00
commit 7eabc7b2f2
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -200,7 +200,8 @@ public class ManualEntryDialog {
String issuer = issuerInput.getText().toString(); String issuer = issuerInput.getText().toString();
String label = labelInput.getText().toString(); String label = labelInput.getText().toString();
String secret = secretInput.getText().toString(); //Replace spaces with empty characters
String secret = secretInput.getText().toString().replaceAll("\\s+","");
int digits = Integer.parseInt(digitsInput.getText().toString()); int digits = Integer.parseInt(digitsInput.getText().toString());
if (type == Entry.OTPType.TOTP || type == Entry.OTPType.STEAM) { if (type == Entry.OTPType.TOTP || type == Entry.OTPType.STEAM) {