auto-generate reactiveui compatible inpc
MODIFY
WalletWasabi.Fluent/ViewModels/Navigation/RoutableViewModel.cs
WalletWasabi.Fluent/ViewModels/Navigation/RoutableViewModel.cs
@@ -8,8 +8,9 @@ using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels.Navigation
{
- public abstract class RoutableViewModel : ViewModelBase, INavigatable
+ public abstract partial class RoutableViewModel : ViewModelBase, INavigatable
{
+ [AutoNotify]
private bool _isBusy;
private CompositeDisposable? _currentDisposable;
@@ -24,12 +25,6 @@ namespace WalletWasabi.Fluent.ViewModels.Navigation
CancelCommand = ReactiveCommand.Create(() => Navigate().Clear());
}
- public bool IsBusy
- {
- get => _isBusy;
- set => this.RaiseAndSetIfChanged(ref _isBusy, value);
- }
-
public ICommand? NextCommand { get; protected set; }
public ICommand BackCommand { get; protected set; }

auto-generate reactiveui compatible inpc