Fix status bar
MODIFY
WalletWasabi.Gui/ViewModels/StatusBarViewModel.cs
WalletWasabi.Gui/ViewModels/StatusBarViewModel.cs
@@ -133,7 +133,7 @@ namespace WalletWasabi.Gui.ViewModels
private void SetStatus()
{
- if (Tor != TorStatus.Running || Backend != BackendStatus.Online || Peers < 1)
+ if (Tor != TorStatus.Running || Backend != BackendStatus.Connected || Peers < 1)
{
Status = "Connecting...";
}

MODIFY
WalletWasabi/Models/BackendStatus.cs
WalletWasabi/Models/BackendStatus.cs
@@ -6,7 +6,7 @@ namespace WalletWasabi.Models
{
public enum BackendStatus
{
- Offline,
- Online
+ NotConnected,
+ Connected
}
}

MODIFY
WalletWasabi/Services/IndexDownloader.cs
WalletWasabi/Services/IndexDownloader.cs
@@ -212,22 +212,22 @@ namespace WalletWasabi.Services
catch (ConnectionException)
{
TorStatus = TorStatus.NotRunning;
- BackendStatus = BackendStatus.Online;
+ BackendStatus = BackendStatus.NotConnected;
throw;
}
catch (TorSocks5FailureResponseException)
{
TorStatus = TorStatus.Running;
- BackendStatus = BackendStatus.Offline;
+ BackendStatus = BackendStatus.NotConnected;
throw;
}
catch
{
TorStatus = TorStatus.Running;
- BackendStatus = BackendStatus.Online;
+ BackendStatus = BackendStatus.Connected;
throw;
}
- BackendStatus = BackendStatus.Online;
+ BackendStatus = BackendStatus.Connected;
TorStatus = TorStatus.Running;
if (filtersResponse == null) // no-content, we are synced

Fix status bar