Revert "disable wownero on desktop and xmr on windows"

But still disable on windows

This reverts commit 0062294488
This commit is contained in:
sneurlax 2023-03-23 18:36:17 -05:00
parent 3034cf11f2
commit 768c51c03b
2 changed files with 4 additions and 9 deletions

View file

@ -46,12 +46,9 @@ class _AddWalletViewState extends State<AddWalletView> {
_searchFieldController = TextEditingController(); _searchFieldController = TextEditingController();
_searchFocusNode = FocusNode(); _searchFocusNode = FocusNode();
coins.remove(Coin.firoTestNet); coins.remove(Coin.firoTestNet);
if (isDesktop) { if (Platform.isWindows) {
coins.remove(Coin.wownero); coins.remove(Coin.monero);
if (Platform.isWindows) { coins.remove(Coin.wonero);
coins.remove(Coin.monero);
}
}
super.initState(); super.initState();
} }

View file

@ -54,12 +54,10 @@ class _NodesSettings extends ConsumerState<NodesSettings> {
void initState() { void initState() {
_coins = _coins.toList(); _coins = _coins.toList();
_coins.remove(Coin.firoTestNet); _coins.remove(Coin.firoTestNet);
if (isDesktop) {
_coins.remove(Coin.wownero);
if (Platform.isWindows) { if (Platform.isWindows) {
_coins.remove(Coin.monero); _coins.remove(Coin.monero);
_coins.remove(Coin.wownero);
} }
}
searchNodeController = TextEditingController(); searchNodeController = TextEditingController();
searchNodeFocusNode = FocusNode(); searchNodeFocusNode = FocusNode();