Remove UpdateStatusBrushConverter.
MODIFY
WalletWasabi.Gui/Controls/StatusBar.xaml
WalletWasabi.Gui/Controls/StatusBar.xaml
<UserControl.Resources>
<converters:FilterLeftStatusConverter x:Key="FilterLeftStatusConverter" />
<converters:StatusColorConverter x:Key="StatusColorConverter" />
- <converters:UpdateStatusBrushConverter x:Key="UpdateStatusBrushConverter" />
<converters:ShowCursorConverter x:Key="ShowCursorConverter" />
<converters:ShouldDisplayValueConverter x:Key="ShouldDisplayValueConverter" />
<converters:PascalToPhraseConverter x:Key="PascalToPhraseConverter" />
<converters:StatusBarStatusStringConverter x:Key="StatusBarStatusStringConverter" />
<converters:RpcStatusStringConverter x:Key="RpcStatusStringConverter" />
</UserControl.Resources>
- <Grid Cursor="{Binding UpdateAvailable, Converter={StaticResource ShowCursorConverter}}" Background="{Binding UpdateStatus, Converter={StaticResource UpdateStatusBrushConverter}}">
+ <Grid Cursor="{Binding UpdateAvailable, Converter={StaticResource ShowCursorConverter}}"
+ Background="{DynamicResource ApplicationAccentBrushLow}">
<i:Interaction.Behaviors>
<behaviors:CommandOnClickBehavior Command="{Binding UpdateCommand}" />
</i:Interaction.Behaviors>
+
+ <Grid Background="IndianRed" IsVisible="{Binding CriticalUpdateAvailable}"/>
+
<DockPanel LastChildFill="True" Margin="10 0" VerticalAlignment="Center">
<StackPanel Orientation="Horizontal" Spacing="20" DockPanel.Dock="Right">
<StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding !CriticalUpdateAvailable}">

DELETE
WalletWasabi.Gui/Converters/UpdateStatusBrushConverter.cs
-using Avalonia;
-using Avalonia.Data.Converters;
-using Avalonia.Media;
-using System;
-using System.Globalization;
-using WalletWasabi.Gui.ViewModels;
-using WalletWasabi.Models;
-
-namespace WalletWasabi.Gui.Converters
-{
- public class UpdateStatusBrushConverter : IValueConverter
- {
- public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
- {
- if (value is UpdateStatus status && !status.BackendCompatible)
- {
- return Brushes.IndianRed;
- }
-
- return Application.Current.Resources.TryGetResource("ApplicationAccentBrushLow", out object brush)
- ? brush
- : null;
- }
-
- public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
- {
- throw new NotSupportedException();
- }
- }
-}

Remove UpdateStatusBrushConverter.