mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
remove Wownero if isDesktop
or isLinux or isWindows or isMacOS, respectively
This commit is contained in:
parent
622fac687a
commit
7654da1d8b
2 changed files with 7 additions and 2 deletions
|
@ -32,6 +32,11 @@ class SearchableCoinList extends ConsumerWidget {
|
|||
// remove firo testnet regardless
|
||||
_coins.remove(Coin.firoTestNet);
|
||||
|
||||
// Kidgloves for Wownero on desktop
|
||||
if(isDesktop) {
|
||||
_coins.remove(Coin.wownero);
|
||||
}
|
||||
|
||||
return _coins;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ import 'package:stackwallet/services/coins/monero/monero_wallet.dart' as xmr;
|
|||
import 'package:stackwallet/services/coins/namecoin/namecoin_wallet.dart'
|
||||
as nmc;
|
||||
import 'package:stackwallet/services/coins/wownero/wownero_wallet.dart' as wow;
|
||||
import 'dart:io' show Platform;
|
||||
|
||||
enum Coin {
|
||||
bitcoin,
|
||||
|
@ -36,8 +37,7 @@ enum Coin {
|
|||
firoTestNet,
|
||||
}
|
||||
|
||||
// remove firotestnet for now
|
||||
const int kTestNetCoinCount = 4;
|
||||
int kTestNetCoinCount = (Platform.isLinux || Platform.isWindows || Platform.isMacOS) ? 5 : 4;
|
||||
|
||||
extension CoinExt on Coin {
|
||||
String get prettyName {
|
||||
|
|
Loading…
Reference in a new issue