mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-24 04:12:32 +08:00
[Settings][QL]Add code comment to clarify what PTRun plugin list error badge means (#32577)
This commit is contained in:
parent
5d5e56ef55
commit
bd7614e531
@ -196,6 +196,9 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
||||
get => !Disabled && !IsGlobal && string.IsNullOrWhiteSpace(ActionKeyword);
|
||||
}
|
||||
|
||||
// The Badge is shown in case of ANY error event, but NEVER when the plugin is disabled.
|
||||
// Logic = !disabled && (errorA or errorB or errorC...)
|
||||
// Current count of possible error events: 1 (NotAccessible)
|
||||
public bool ShowBadgeOnPluginSettingError
|
||||
{
|
||||
get => !Disabled && ShowNotAccessibleWarning;
|
||||
|
Loading…
Reference in New Issue
Block a user