mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 11:04:33 +00:00
fix switch statement logic
This commit is contained in:
parent
63ab0b09e8
commit
4de632bdb4
3 changed files with 6 additions and 12 deletions
|
@ -205,9 +205,8 @@ class _AddEditNodeViewState extends ConsumerState<AddEditNodeView> {
|
|||
|
||||
case Coin.nano:
|
||||
case Coin.banano:
|
||||
throw UnimplementedError();
|
||||
//TODO: check network/node
|
||||
case Coin.tezos:
|
||||
throw UnimplementedError();
|
||||
//TODO: check network/node
|
||||
}
|
||||
|
||||
|
|
|
@ -173,6 +173,9 @@ class _NodeDetailsViewState extends ConsumerState<NodeDetailsView> {
|
|||
|
||||
case Coin.nano:
|
||||
case Coin.banano:
|
||||
case Coin.tezos:
|
||||
throw UnimplementedError();
|
||||
//TODO: check network/node
|
||||
case Coin.stellar:
|
||||
case Coin.stellarTestnet:
|
||||
try {
|
||||
|
@ -181,11 +184,6 @@ class _NodeDetailsViewState extends ConsumerState<NodeDetailsView> {
|
|||
testPassed = false;
|
||||
}
|
||||
break;
|
||||
case Coin.nano:
|
||||
case Coin.banano:
|
||||
case Coin.tezos:
|
||||
throw UnimplementedError();
|
||||
//TODO: check network/node
|
||||
}
|
||||
|
||||
if (testPassed) {
|
||||
|
|
|
@ -196,6 +196,8 @@ class _NodeCardState extends ConsumerState<NodeCard> {
|
|||
case Coin.nano:
|
||||
case Coin.banano:
|
||||
case Coin.tezos:
|
||||
//TODO: check network/node
|
||||
throw UnimplementedError();
|
||||
case Coin.stellar:
|
||||
case Coin.stellarTestnet:
|
||||
try {
|
||||
|
@ -204,11 +206,6 @@ class _NodeCardState extends ConsumerState<NodeCard> {
|
|||
testPassed = false;
|
||||
}
|
||||
break;
|
||||
|
||||
case Coin.nano:
|
||||
case Coin.banano:
|
||||
throw UnimplementedError();
|
||||
//TODO: check network/node
|
||||
}
|
||||
|
||||
if (testPassed) {
|
||||
|
|
Loading…
Reference in a new issue