remove IsDownloading since we're using the same animation on any phase of the loading screen now.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/LoadingViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/LoadingViewModel.cs
@@ -17,7 +17,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets
[AutoNotify] private double _percent;
[AutoNotify] private string? _statusText;
- [AutoNotify] private bool _isDownloading;
private Stopwatch? _stopwatch;
private volatile bool _isLoading;
@@ -30,7 +29,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets
_wallet = wallet;
_statusText = "";
_percent = 0;
- _isDownloading = true;
Services.Synchronizer.WhenAnyValue(x => x.BackendStatus)
.Where(status => status == BackendStatus.Connected)
@@ -84,8 +82,6 @@ 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
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.LoadingControl">
<DockPanel>
- <StackPanel MaxWidth="800" Spacing="10" DockPanel.Dock="Bottom" HorizontalAlignment="Center"
- IsVisible="{Binding IsDownloading}">
+ <StackPanel MaxWidth="800" Spacing="10" DockPanel.Dock="Bottom" HorizontalAlignment="Center">
<TextBlock Text="Wasabi is downloading blockchain data" TextAlignment="Center" FontSize="22"
DockPanel.Dock="Bottom" />
<Panel Margin="80 40">
<Viewbox>
<Viewbox.Styles>
- <Style Selector=":is(Control).Beacon">
+ <Style Selector=":is(Control).City">
+ <Setter Property="Opacity" Value="0"></Setter>
<Setter Property="Transitions">
<Transitions>
<DoubleTransition Property="Opacity" Duration="0:0:0.75" Easing="{StaticResource FluentEasing}" />
<behaviors:RandomizedWorldPointsBehavior />
</i:Interaction.Behaviors>
<Image Source="{StaticResource loading_control_world_map}"/>
- <Image Source="{StaticResource loading_control_city_marker}" Classes="Beacon"/>
- <Image Source="{StaticResource loading_control_city_marker}" Classes="Beacon"/>
- <Image Source="{StaticResource loading_control_city_marker}" Classes="Beacon"/>
- <Image Source="{StaticResource loading_control_city_marker}" Classes="Beacon"/>
+ <Image Source="{StaticResource loading_control_city_marker}" Classes="City"/>
+ <Image Source="{StaticResource loading_control_city_marker}" Classes="City"/>
+ <Image Source="{StaticResource loading_control_city_marker}" Classes="City"/>
+ <Image Source="{StaticResource loading_control_city_marker}" Classes="City"/>
</Canvas>
</Viewbox>
</Panel>

remove IsDownloading since we're using the same animation on any phase of the loading screen now.