This commit is contained in:
M 2020-06-03 12:56:23 +03:00
parent e5d6586a6d
commit cfde445d32
6 changed files with 102 additions and 63 deletions

View file

@ -16,9 +16,13 @@ abstract class WalletCreationServiceBase with Store {
@observable
WalletCreationState state;
WalletType type;
WalletListService _service;
void changeWalletType({@required WalletType type}) {
this.type = type;
switch (type) {
case WalletType.monero:
_service = MoneroWalletListService();