π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Use word position
Neeraj Gupta9f234036045c
diff --git a/auth/lib/core/configuration.dart b/auth/lib/core/configuration.dartindex 123b8f37c0..950ebd60b6 100644--- a/auth/lib/core/configuration.dart+++ b/auth/lib/core/configuration.dart@@ -288,11 +288,11 @@ class Configuration {final split = recoveryKey.split(' ');if (split.length != mnemonicKeyWordCount) {String wordThatIsFollowedByEmptySpaceInSplit = '';- for (int i = 1; i < split.length; i++) {+ for (int i = 0; i < split.length; i++) {String word = split[i];if (word.isEmpty) {wordThatIsFollowedByEmptySpaceInSplit =- '\n\nExtra space after word "${split[i - 1]}"';+ '\n\nExtra space after word at position $i';break;}}