add statusbar message visibility converter
ADD
WalletWasabi.Fluent/Converters/StatusBarStateVisibilityConverter.cs
+using System;
+using System.Globalization;
+using Avalonia.Data.Converters;
+
+namespace WalletWasabi.Fluent.Converters
+{
+ public class StatusBarStateVisibilityConverter : IValueConverter
+ {
+ public static readonly StatusBarStateVisibilityConverter Instance = new();
+
+ private StatusBarStateVisibilityConverter()
+ {
+ }
+
+ object? IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ return (StatusBarState) value == (StatusBarState) parameter;
+ }
+
+ object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}

add statusbar message visibility converter