mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
TMP 3
This commit is contained in:
parent
e5d6586a6d
commit
cfde445d32
6 changed files with 102 additions and 63 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue