test signing

This commit is contained in:
nilsk 2026-07-01 23:52:40 +02:00
parent 0deef16a19
commit fc2cc2b532
No known key found for this signature in database
GPG Key ID: A5C0151B4DDB172C

View File

@ -54,11 +54,11 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
private bool IsAuditBelowMinimum => this.audit is not null && this.audit.Level < this.MinimumLevel;
private bool IsActivationBlockedBySettings => this.audit is null || this.IsAuditBelowMinimum && this.AuditSettings.BlockActivationBelowMinimum;
private bool IsActivationBlockedBySettings => this.AuditSettings.RequireAuditBeforeActivation && (this.audit is null || this.IsAuditBelowMinimum && this.AuditSettings.BlockActivationBelowMinimum);
private bool RequiresActivationConfirmation => this.audit is not null && this.IsAuditBelowMinimum && !this.AuditSettings.BlockActivationBelowMinimum;
private bool RequiresActivationConfirmation => this.audit is not null && this.IsAuditBelowMinimum && !this.IsActivationBlockedBySettings;
private bool CanEnablePlugin => this.audit is not null && !this.isAuditing && !this.IsActivationBlockedBySettings;
private bool CanEnablePlugin => this.plugin is not null && !this.isAuditing && !this.IsActivationBlockedBySettings;
private Color EnableButtonColor => this.RequiresActivationConfirmation ? Color.Warning : Color.Success;
private bool justAudited;
@ -118,7 +118,7 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
private async Task EnablePlugin()
{
if (this.audit is null)
if (this.plugin is null)
return;
if (this.IsActivationBlockedBySettings)