kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix issue where formatted mnemonic with newlines would fail even though it looks correct.
rodzic
41e6097ac5
commit
f400504898
|
@ -40,7 +40,7 @@ public class PaymentsRecoveryPasteFragment extends Fragment {
|
|||
|
||||
next.setOnClickListener(v -> {
|
||||
String mnemonic = input.getText().toString();
|
||||
String[] words = mnemonic.split(" ");
|
||||
String[] words = mnemonic.split("\\s+");
|
||||
|
||||
if (words.length != PaymentsConstants.MNEMONIC_LENGTH) {
|
||||
showErrorDialog();
|
||||
|
|
Ładowanie…
Reference in New Issue