fix(StatusSeedPhraseInput): Increased suggestion match chars to 4

This commit is contained in:
Alexandra Betouni 2022-03-25 23:00:38 +02:00 committed by Michał Cieślak
parent 10520a6f53
commit 5f012da87f
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ Item {
}
}
seedSuggestionsList.model = filteredList;
if ((text.length === 3) && (filteredList.count === 1) &&
if ((text.length === 4) && (filteredList.count === 1) &&
((input.edit.keyEvent !== Qt.Key_Backspace) && (input.edit.keyEvent !== Qt.Key_Delete))) {
seedWordInput.text = filteredList.get(0).seedWord;
seedWordInput.input.edit.cursorPosition = seedWordInput.text.length;