Remove redundant IsVisible setters.
MODIFY
WalletWasabi.Gui/Controls/StatusBar.xaml
WalletWasabi.Gui/Controls/StatusBar.xaml
<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}">
+ <StackPanel Orientation="Horizontal" Spacing="20" DockPanel.Dock="Right" IsVisible="{Binding !CriticalUpdateAvailable}">
+ <StackPanel Orientation="Horizontal" Spacing="4">
<TextBlock Text="{Binding ShowNetwork}" />
</StackPanel>
<Panel IsVisible="{Binding DownloadingBlock}">
- <StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding !CriticalUpdateAvailable}">
+ <StackPanel Orientation="Horizontal" Spacing="4">
<Grid Height="10" Width="10">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource StatusBar_DownloadingBlock}" />
</Grid>
</StackPanel>
</Panel>
<Panel IsVisible="{Binding FiltersLeft, Converter={StaticResource ShouldDisplayValueConverter}}">
- <StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding !CriticalUpdateAvailable}">
+ <StackPanel Orientation="Horizontal" Spacing="4">
<Grid Height="10" Width="10">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource StatusBar_Filter}" />
</Grid>
<TextBlock Text="{Binding FiltersLeft, Converter={StaticResource FilterLeftStatusConverter}}" Foreground="{Binding FiltersLeft, ConverterParameter=FiltersLeft, Converter={StaticResource StatusColorConverter}}" />
</StackPanel>
</Panel>
- <StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding !CriticalUpdateAvailable}">
+ <StackPanel Orientation="Horizontal" Spacing="4">
<Grid Height="10" Width="10">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource StatusBar_GlobeCheckedShield}" />
</Grid>
<TextBlock Text="{Binding Tor, StringFormat=Tor is \{0\}, Converter={StaticResource PascalToPhraseConverter}}" Foreground="{Binding Tor, ConverterParameter=Tor, Converter={StaticResource StatusColorConverter}}" />
</StackPanel>
<Panel IsVisible="{Binding UseBitcoinCore}">
- <StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding !CriticalUpdateAvailable}">
+ <StackPanel Orientation="Horizontal" Spacing="4">
<Grid Height="10" Width="10">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource StatusBar_ServerGlobe}" />
</Grid>
<TextBlock Text="{Binding BitcoinCoreStatus, Converter={StaticResource RpcStatusStringConverter}}" Foreground="{Binding BitcoinCoreStatus, ConverterParameter=BitcoinCoreStatus, Converter={StaticResource StatusColorConverter}}" />
</StackPanel>
</Panel>
- <StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding !CriticalUpdateAvailable}">
+ <StackPanel Orientation="Horizontal" Spacing="4">
<Grid Height="10" Width="10">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource StatusBar_ServerGlobe}" />
</Grid>
<TextBlock Text="{Binding Backend, StringFormat=Backend is \{0\}, Converter={StaticResource PascalToPhraseConverter}}" Foreground="{Binding Backend, ConverterParameter=Backend, Converter={StaticResource StatusColorConverter}}" />
</StackPanel>
<Panel IsVisible="{Binding !UseBitcoinCore}">
- <StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding !CriticalUpdateAvailable}">
+ <StackPanel Orientation="Horizontal" Spacing="4">
<Grid Height="10" Width="10">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource StatusBar_Peer}" />
</Grid>
<TextBlock Text="{Binding Peers, StringFormat=Peers: \{0\}}" Foreground="{Binding Peers, ConverterParameter=Peers, Converter={StaticResource StatusColorConverter}}" />
</StackPanel>
</Panel>
- <StackPanel Orientation="Horizontal" Spacing="0" IsVisible="{Binding !CriticalUpdateAvailable}">
+ <StackPanel Orientation="Horizontal" Spacing="0">
<TextBlock Text="Price: " />
<TextBlock Text="{Binding BtcPrice}" />
</StackPanel>
</StackPanel>
+
<StackPanel Orientation="Horizontal" Spacing="4">
<Grid Height="10" Width="10" IsVisible="{Binding UpdateAvailable}">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center">

Remove redundant IsVisible setters.