fix settings leaking through currencies on seed restore

This commit is contained in:
Czarek Nakamoto 2024-08-22 09:46:07 +02:00
parent acc843b1b9
commit 6f2ea35b77

View file

@ -78,7 +78,8 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
@override
void initState() {
_setSeedType(widget.seedTypeViewModel.moneroSeedType);
// _setSeedType(widget.seedTypeViewModel.moneroSeedType);
_setSeedType(SeedType.defaultSeedType);
_setLanguageLabel(language);
if (passwordTextEditingController != null) {
@ -100,7 +101,7 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
}
@override
void dispose() {
void dispose() {
moneroSeedTypeReaction();
if (passwordListener != null) {