Rename StatusCheckerWrapper -> TorStatusCheckerWrapper for consistency
RENAME
WalletWasabi.Fluent/AppServices/Tor/StatusCheckerWrapper.cs
WalletWasabi.Fluent/AppServices/Tor/TorStatusCheckerWrapper.cs
@@ -6,9 +6,9 @@ using WalletWasabi.Services.Tor.StatusChecker;
namespace WalletWasabi.Fluent.AppServices.Tor;
-public class StatusCheckerWrapper
+public class TorStatusCheckerWrapper
{
- public StatusCheckerWrapper(TorStatusChecker statusChecker)
+ public TorStatusCheckerWrapper(TorStatusChecker statusChecker)
{
Issues = Observable
.FromEventPattern<Issue[]>(statusChecker, nameof(TorStatusChecker.StatusEvent))

MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -58,7 +58,7 @@ public partial class MainViewModel : ViewModelBase
UiServices.Initialize();
- _statusIcon = new StatusIconViewModel(new StatusCheckerWrapper(Services.TorStatusChecker));
+ _statusIcon = new StatusIconViewModel(new TorStatusCheckerWrapper(Services.TorStatusChecker));
_addWalletPage = new AddWalletPageViewModel();
_settingsPage = new SettingsPageViewModel();

MODIFY
WalletWasabi.Fluent/ViewModels/StatusIcon/StatusIconViewModel.cs
WalletWasabi.Fluent/ViewModels/StatusIcon/StatusIconViewModel.cs
@@ -31,7 +31,7 @@ public partial class StatusIconViewModel : IStatusIconViewModel, IDisposable
[AutoNotify] private string? _versionText;
private readonly ObservableAsPropertyHelper<ICollection<Issue>> _torIssues;
- public StatusIconViewModel(StatusCheckerWrapper statusCheckerWrapper)
+ public StatusIconViewModel(TorStatusCheckerWrapper statusCheckerWrapper)
{
UseTor = Services.Config.UseTor; // Do not make it dynamic, because if you change this config settings only next time will it activate.
TorStatus = UseTor ? Services.Synchronizer.TorStatus : TorStatus.TurnedOff;

Rename StatusCheckerWrapper -> TorStatusCheckerWrapper for consistency