Improve status
MODIFY
WalletWasabi.Gui/ViewModels/StatusBarViewModel.cs
WalletWasabi.Gui/ViewModels/StatusBarViewModel.cs
@@ -82,7 +82,17 @@ namespace WalletWasabi.Gui.ViewModels
this.WhenAnyValue(x => x.BlocksLeft).Subscribe(blocks =>
{
- if (blocks > 0)
+ SetStatus();
+ });
+ this.WhenAnyValue(x => x.FiltersLeft).Subscribe(filters =>
+ {
+ SetStatus();
+ });
+ }
+
+ private void SetStatus()
+ {
+ if (FiltersLeft != 0 || BlocksLeft != 0)
{
Status = "Synchronizing...";
}
@@ -90,7 +100,6 @@ namespace WalletWasabi.Gui.ViewModels
{
Status = "Ready";
}
- });
}
private void IndexDownloader_NewFilter(object sender, Backend.Models.FilterModel e)

Improve status