WalletExplorerViewModel format nitpick
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerViewModel.cs
@@ -39,7 +39,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
var global = Locator.Current.GetService<Global>();
WalletManager = global.WalletManager;
UiConfig = global.UiConfig;
- Observable.FromEventPattern<WalletState>(WalletManager, nameof(WalletManager.WalletStateChanged))
+ Observable
+ .FromEventPattern<WalletState>(WalletManager, nameof(WalletManager.WalletStateChanged))
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(x =>
{
@@ -58,7 +59,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
}
});
- Observable.FromEventPattern<Wallet>(WalletManager, nameof(WalletManager.WalletAdded))
+ Observable
+ .FromEventPattern<Wallet>(WalletManager, nameof(WalletManager.WalletAdded))
.ObserveOn(RxApp.MainThreadScheduler)
.Select(x => x.EventArgs)
.Where(x => x is { })
@@ -85,7 +87,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
UiConfig.ToFile();
});
- _isLurkingWifeMode = UiConfig.WhenAnyValue(x => x.LurkingWifeMode)
+ _isLurkingWifeMode = UiConfig
+ .WhenAnyValue(x => x.LurkingWifeMode)
.ToProperty(this, x => x.IsLurkingWifeMode, scheduler: RxApp.MainThreadScheduler);
LurkingWifeModeCommand.ThrownExceptions
@@ -94,7 +97,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
var shell = IoC.Get<IShell>();
- shell.WhenAnyValue(x => x.SelectedDocument)
+ shell
+ .WhenAnyValue(x => x.SelectedDocument)
.Subscribe(x =>
{
if (x is ViewModelBase vmb)

WalletExplorerViewModel format nitpick