Browse Source

Use property brushes instead of static

pull/5/head
Ionite 1 year ago
parent
commit
9fc0312510
No known key found for this signature in database
  1. 4
      StabilityMatrix/ViewModels/RefreshBadgeViewModel.cs

4
StabilityMatrix/ViewModels/RefreshBadgeViewModel.cs

@ -49,8 +49,8 @@ public partial class RefreshBadgeViewModel : ObservableObject
public SolidColorBrush ColorBrush => State switch
{
ProgressState.Success => AppBrushes.SuccessGreen,
ProgressState.Failed => AppBrushes.FailedRed,
ProgressState.Success => SuccessColorBrush,
ProgressState.Failed => FailColorBrush,
_ => Brushes.Gray,
};

Loading…
Cancel
Save