fix build issues

This commit is contained in:
Czarek Nakamoto 2024-09-03 10:00:37 +02:00
parent 9b98985102
commit e1117cdef6

View file

@ -81,7 +81,7 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
@override @override
void initState() { void initState() {
// _setSeedType(widget.seedTypeViewModel.moneroSeedType); // _setSeedType(widget.seedTypeViewModel.moneroSeedType);
_setSeedType(SeedType.defaultSeedType); _setSeedType(MoneroSeedType.defaultSeedType);
_setLanguageLabel(language); _setLanguageLabel(language);
if (passwordTextEditingController != null) { if (passwordTextEditingController != null) {
@ -208,9 +208,6 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
: seedTypeController.value.text.contains("14") && widget.type == WalletType.wownero : seedTypeController.value.text.contains("14") && widget.type == WalletType.wownero
? 2 ? 2
: 0, : 0,
: seedTypeController.value.text.contains("14")
? 2
: 0,
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
onItemSelected: _changeSeedType, onItemSelected: _changeSeedType,
isSeparated: false, isSeparated: false,