CW-686-polyseed-language-issues (#2098)

* feat: Fix space for japanese seed

* feat: Fix space for japanese seed

* feat: Upgrade Polyseed version with improved jp support

* feat: Fix monero legacy seed language falling back to english
This commit is contained in:
Konstantin Ullrich
2025-03-21 05:32:40 +02:00
committed by GitHub
parent 626e532fce
commit 597a716f9d
8 changed files with 37 additions and 21 deletions
@@ -92,7 +92,8 @@ class ValidatableAnnotatedEditableTextState extends EditableTextState {
List<Annotation> getRanges() {
final result = <Annotation>[];
final text = textEditingValue.text;
// Replace Ideographic Space (U+3000) with a normal space
final text = textEditingValue.text.replaceAll("\u3000", " ");
final source = text
.split(' ')
.map((word) {