Minor refactoring.
This commit is contained in:
parent
21353e6d6d
commit
144c3ba752
2 changed files with 4 additions and 2 deletions
|
@ -112,6 +112,8 @@ namespace SafeExamBrowser.Configuration.Cryptography
|
||||||
|
|
||||||
browserExamKey = key;
|
browserExamKey = key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.Debug("Successfully calculated browser exam key using simplified calculation.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -191,11 +191,11 @@ namespace SafeExamBrowser.Proctoring.ScreenProctoring
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateNotification(bool live)
|
private void UpdateNotification(bool active)
|
||||||
{
|
{
|
||||||
CanActivate = false;
|
CanActivate = false;
|
||||||
|
|
||||||
if (live)
|
if (active)
|
||||||
{
|
{
|
||||||
IconResource = new XamlIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/ScreenProctoring_Active.xaml") };
|
IconResource = new XamlIconResource { Uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/ScreenProctoring_Active.xaml") };
|
||||||
Tooltip = text.Get(TextKey.Notification_ProctoringActiveTooltip);
|
Tooltip = text.Get(TextKey.Notification_ProctoringActiveTooltip);
|
||||||
|
|
Loading…
Add table
Reference in a new issue