use compiled bindings.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/LoadingViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/LoadingViewModel.cs
@@ -17,6 +17,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets
[AutoNotify] private double _percent;
[AutoNotify] private string? _statusText;
+ [AutoNotify] private bool _isDownloading;
private Stopwatch? _stopwatch;
private volatile bool _isLoading;
@@ -82,6 +83,8 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets
processedFilters = lastProcessedFilterHeight - _filterProcessStartingHeight - 1;
}
+ IsDownloading = RemainingFiltersToDownload == 0;
+
var processedCount = downloadedFilters + processedFilters;
return processedCount;

MODIFY
WalletWasabi.Fluent/Views/Wallets/LoadingControl.axaml
WalletWasabi.Fluent/Views/Wallets/LoadingControl.axaml
xmlns:i="using:Avalonia.Xaml.Interactivity"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:DataType="vm:LoadingViewModel"
+ x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.LoadingControl">
<DockPanel>
- <StackPanel MaxWidth="800" Spacing="10" DockPanel.Dock="Bottom" HorizontalAlignment="Center">
+ <StackPanel MaxWidth="800" Spacing="10" DockPanel.Dock="Bottom" HorizontalAlignment="Center" IsVisible="{Binding IsDownloading}">
<TextBlock Text="Wasabi is downloading blockchain data" TextAlignment="Center" FontSize="22"
DockPanel.Dock="Bottom" />

use compiled bindings.