mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[Settings][QL]Add code comment to clarify what PTRun plugin list error badge means (#32577)
This commit is contained in:
@@ -196,6 +196,9 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
|||||||
get => !Disabled && !IsGlobal && string.IsNullOrWhiteSpace(ActionKeyword);
|
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
|
public bool ShowBadgeOnPluginSettingError
|
||||||
{
|
{
|
||||||
get => !Disabled && ShowNotAccessibleWarning;
|
get => !Disabled && ShowNotAccessibleWarning;
|
||||||
|
|||||||
Reference in New Issue
Block a user