File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 485
485
HorizontalAlignment=" Center"
486
486
VerticalAlignment=" Center"
487
487
IsIndeterminate=" False"
488
- Visibility=" {x:Bind OngoingTasksViewModel.ShowStatusCenterProgressRing , Mode=OneWay}"
488
+ Visibility=" {x:Bind OngoingTasksViewModel.ShowProgressRing , Mode=OneWay}"
489
489
Value=" {x:Bind OngoingTasksViewModel.AverageOperationProgressValue, Mode=OneWay}" />
490
490
491
491
<InfoBadge
648
648
To=" 2" />
649
649
</VisualState .StateTriggers>
650
650
<VisualState .Setters>
651
- <Setter Target =" MedianOperationProgressRing.Background" Value =" {ThemeResource SystemFillColorCriticalBrush}" />
651
+ <Setter Target =" MedianOperationProgressRing.Foreground" Value =" {ThemeResource SystemFillColorAttentionBrush}" />
652
+ <Setter Target =" MedianOperationProgressRing.Background" Value =" {ThemeResource SubtleFillColorSecondaryBrush}" />
653
+ <Setter Target =" StatusCenterIcon.Visibility" Value =" Collapsed" />
652
654
</VisualState .Setters>
653
655
</VisualState >
654
656
<VisualState x : Name =" TasksCompletionWithFailure" >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public bool HasAnyItemInProgress
35
35
get
36
36
{
37
37
if ( InProgressItemCount > 0 )
38
- ShowStatusCenterProgressRing = true ;
38
+ ShowProgressRing = true ;
39
39
40
40
return InProgressItemCount > 0 ;
41
41
}
@@ -45,11 +45,11 @@ public bool HasAnyItem
45
45
=> StatusCenterItems . Any ( ) ;
46
46
47
47
48
- private bool _ShowStatusCenterProgressRing = false ;
49
- public bool ShowStatusCenterProgressRing
48
+ private bool _ShowProgressRing = false ;
49
+ public bool ShowProgressRing
50
50
{
51
- get => _ShowStatusCenterProgressRing ;
52
- private set => SetProperty ( ref _ShowStatusCenterProgressRing , value ) ;
51
+ get => _ShowProgressRing ;
52
+ private set => SetProperty ( ref _ShowProgressRing , value ) ;
53
53
54
54
}
55
55
@@ -83,7 +83,7 @@ public StatusCenterViewModel()
83
83
84
84
public void OnStatusCenterFlyoutOpened ( )
85
85
{
86
- ShowStatusCenterProgressRing = HasAnyItemInProgress ;
86
+ ShowProgressRing = HasAnyItemInProgress ;
87
87
}
88
88
89
89
public StatusCenterItem AddItem (
You can’t perform that action at this time.
0 commit comments