Minor refactoring.

This commit is contained in:
Damian Büchel 2024-08-22 16:26:58 +02:00
parent 21353e6d6d
commit 144c3ba752
2 changed files with 4 additions and 2 deletions

View file

@ -112,6 +112,8 @@ namespace SafeExamBrowser.Configuration.Cryptography
browserExamKey = key;
}
logger.Debug("Successfully calculated browser exam key using simplified calculation.");
}
}
}

View file

@ -191,11 +191,11 @@ namespace SafeExamBrowser.Proctoring.ScreenProctoring
}
}
private void UpdateNotification(bool live)
private void UpdateNotification(bool active)
{
CanActivate = false;
if (live)
if (active)
{
IconResource = new XamlIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/ScreenProctoring_Active.xaml") };
Tooltip = text.Get(TextKey.Notification_ProctoringActiveTooltip);