Merge branch 'feature/253' of https://github.com/Ullas-Aithal/andOTP into Ullas-Aithal-feature/253
This commit is contained in:
commit
c5f1f5b706
1 changed files with 2 additions and 1 deletions
|
@ -200,7 +200,8 @@ public class ManualEntryDialog {
|
|||
|
||||
String issuer = issuerInput.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());
|
||||
|
||||
if (type == Entry.OTPType.TOTP || type == Entry.OTPType.STEAM) {
|
||||
|
|
Loading…
Reference in a new issue