Skip to content

Commit

Permalink
[MWB]Improve UX for Uninstall service when it's inaccessible (#26525)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyoyuppe authored May 31, 2023
1 parent 88656a9 commit e378f0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public bool UseService
{
Settings.Properties.UseService = value;
OnPropertyChanged(nameof(UseService));
OnPropertyChanged(nameof(CanUninstallService));

// Must block here until the process exits
Task.Run(async () =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
IsTabStop="True"
Severity="Warning" />
<labs:SettingsCard
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.CanUninstallService}"
x:Uid="MouseWithoutBorders_UninstallService"
ActionIcon="{ui:FontIcon FontFamily={StaticResource SymbolThemeFontFamily},
Glyph=&#xE8A7;}"
Expand Down

0 comments on commit e378f0c

Please sign in to comment.