use GetNetworks()
MODIFY
WalletWasabi.Fluent/ViewModels/Settings/BitcoinTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/BitcoinTabViewModel.cs
@@ -38,12 +38,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
set => this.RaiseAndSetIfChanged(ref _network, value);
}
- public IEnumerable<Network> Networks => new[]
- {
- Network.Main,
- Network.TestNet,
- Network.RegTest
- };
+ public IEnumerable<Network> Networks => Network.GetNetworks();
public bool StartLocalBitcoinCoreOnStartup
{

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/SettingsPageViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/SettingsPageViewModel.cs
using System;
-using System.Collections.Generic;
using System.Net;
using System.Reactive;
using System.Reactive.Linq;
-using System.Threading.Tasks;
using Avalonia.Threading;
using NBitcoin;
using ReactiveUI;
-using Splat;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Gui;
-using WalletWasabi.Gui.Helpers;
-using WalletWasabi.Gui.Validation;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
-using WalletWasabi.Models;
using WalletWasabi.Userfacing;
namespace WalletWasabi.Fluent.ViewModels.Settings

use GetNetworks()