mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
8a69f3bc63
* fix(SeedPhrase): Fixing seed phrase validation 1. Validate each word after the editing is finished 2. Fixing the seed phrase suggestions where the suggestions box was hidden behind other ui elements 3. Propagate editingFinished signal in StatusBaseInput, StatusInput, StatusSeedPhraseInput 4. Fixing undefined `mnemonicIndex` errors * fix: Refactoring of SeedPhraseInputView Remove duplicated code and use EnterSeedPhrase component + Added storybook page * fix(Onboarding): Fixing seed phrase validation on windows The seed phrase validation fails on windows due to the dictionary line endings * chore(squish): Update e2e tests to the new enter seed phrase panel construction * fix: Load english dictionary from local file using StringUtils
19 lines
587 B
QML
19 lines
587 B
QML
import QtQuick 2.13
|
|
|
|
ListModel {
|
|
id: root
|
|
|
|
Component.onCompleted: {
|
|
var englishWords = [
|
|
"apple", "banana", "cat", "dog", "elephant", "fish", "grape", "horse", "ice cream", "jellyfish",
|
|
"kiwi", "lemon", "mango", "nut", "orange", "pear", "quail", "rabbit", "strawberry", "turtle",
|
|
"umbrella", "violet", "watermelon", "xylophone", "yogurt", "zebra"
|
|
// Add more English words here...
|
|
];
|
|
|
|
for (var i = 0; i < englishWords.length; i++) {
|
|
root.append({ seedWord: englishWords[i] });
|
|
}
|
|
}
|
|
}
|