2
0
mirror of synced 2025-02-19 18:08:10 +00:00

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 Khushboo Mehta
parent 3c2e97c5e2
commit cf0ba3f7a1

View File

@ -48,7 +48,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;