From 9fc0312510be9c9142929bdbf085e4a3a53ce3c7 Mon Sep 17 00:00:00 2001 From: Ionite Date: Tue, 13 Jun 2023 16:16:22 -0400 Subject: [PATCH] Use property brushes instead of static --- StabilityMatrix/ViewModels/RefreshBadgeViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StabilityMatrix/ViewModels/RefreshBadgeViewModel.cs b/StabilityMatrix/ViewModels/RefreshBadgeViewModel.cs index 22c51b0c..ad507b4c 100644 --- a/StabilityMatrix/ViewModels/RefreshBadgeViewModel.cs +++ b/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, };