This commit is contained in:
EugeneTes
2026-03-19 09:03:37 +01:00
parent 14fe822962
commit 83597b8763
55 changed files with 2136 additions and 32 deletions

View File

@@ -85,11 +85,11 @@ namespace VisionBuilder.UI.Windows.Duo
WindowState = FormWindowState.Minimized;
}
private void btnSettings_Click(object sender, EventArgs e)
private async void btnSettings_Click(object sender, EventArgs e)
{
if (_uiConfiguration.ProtectSettingsWithPassword)
{
var passwordOk = _passwordInputService.GetPassword() == _uiConfiguration.AdminPassword;
var passwordOk = await _passwordInputService.GetPasswordAsync() == _uiConfiguration.AdminPassword;
if (!passwordOk)
return;
}