Fix CS0420 for _isLoading property in loading view model
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/LoadingViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/LoadingViewModel.cs
@@ -18,7 +18,7 @@ public partial class LoadingViewModel : ActivatableViewModel
[AutoNotify] private double _percent;
[AutoNotify] private string _statusText = " "; // Should not be empty as we have to preserve the space in the view.
- [AutoNotify] private volatile bool _isLoading;
+ [AutoNotify(SetterModifier = AccessModifier.None)] private volatile bool _isLoading;
private Stopwatch? _stopwatch;
private uint _filtersToDownloadCount;
@@ -96,7 +96,8 @@ public partial class LoadingViewModel : ActivatableViewModel
return;
}
- IsLoading = true;
+ _isLoading = true;
+ this.RaisePropertyChanged(nameof(IsLoading));
await SetInitValuesAsync(isBackendAvailable).ConfigureAwait(false);

Fix CS0420 for _isLoading property in loading view model