mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 19:05:51 +00:00
wownero disable on desktop fix
This commit is contained in:
parent
3306cf8b99
commit
172b3d157b
1 changed files with 2 additions and 7 deletions
|
@ -12,7 +12,7 @@ import 'package:stackwallet/services/coins/monero/monero_wallet.dart' as xmr;
|
||||||
import 'package:stackwallet/services/coins/namecoin/namecoin_wallet.dart'
|
import 'package:stackwallet/services/coins/namecoin/namecoin_wallet.dart'
|
||||||
as nmc;
|
as nmc;
|
||||||
import 'package:stackwallet/services/coins/wownero/wownero_wallet.dart' as wow;
|
import 'package:stackwallet/services/coins/wownero/wownero_wallet.dart' as wow;
|
||||||
import 'dart:io' show Platform;
|
import 'package:stackwallet/utilities/util.dart';
|
||||||
|
|
||||||
enum Coin {
|
enum Coin {
|
||||||
bitcoin,
|
bitcoin,
|
||||||
|
@ -37,12 +37,7 @@ enum Coin {
|
||||||
firoTestNet,
|
firoTestNet,
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Platform.isLinux || Platform.isWindows || Platform.isMacOS) {
|
final int kTestNetCoinCount = Util.isDesktop ? 5 : 4;
|
||||||
int kTestNetCoinCount = 5; // Because we are removing Wownero from Desktop
|
|
||||||
} else {
|
|
||||||
// remove firotestnet for now
|
|
||||||
int kTestNetCoinCount = 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
extension CoinExt on Coin {
|
extension CoinExt on Coin {
|
||||||
String get prettyName {
|
String get prettyName {
|
||||||
|
|
Loading…
Reference in a new issue