From 2c39668667e8dc1d61a845ae6c926f1ba743b8e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Thu, 14 Mar 2024 14:41:27 +0100 Subject: [PATCH] Reactivated disclaimer for screen proctoring. --- .../Operations/DisclaimerOperation.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SafeExamBrowser.Runtime/Operations/DisclaimerOperation.cs b/SafeExamBrowser.Runtime/Operations/DisclaimerOperation.cs index 9d92a125..88006313 100644 --- a/SafeExamBrowser.Runtime/Operations/DisclaimerOperation.cs +++ b/SafeExamBrowser.Runtime/Operations/DisclaimerOperation.cs @@ -36,10 +36,10 @@ namespace SafeExamBrowser.Runtime.Operations result = ShowVideoProctoringDisclaimer(); } - //if (result == OperationResult.Success && Context.Next.Settings.Proctoring.ScreenProctoring.Enabled) - //{ - // result = ShowScreenProctoringDisclaimer(); - //} + if (result == OperationResult.Success && Context.Next.Settings.Proctoring.ScreenProctoring.Enabled) + { + result = ShowScreenProctoringDisclaimer(); + } if (result == OperationResult.Success && Context.Next.Settings.Proctoring.Zoom.Enabled) { @@ -58,10 +58,10 @@ namespace SafeExamBrowser.Runtime.Operations result = ShowVideoProctoringDisclaimer(); } - //if (result == OperationResult.Success && Context.Next.Settings.Proctoring.ScreenProctoring.Enabled) - //{ - // result = ShowScreenProctoringDisclaimer(); - //} + if (result == OperationResult.Success && Context.Next.Settings.Proctoring.ScreenProctoring.Enabled) + { + result = ShowScreenProctoringDisclaimer(); + } if (result == OperationResult.Success && Context.Next.Settings.Proctoring.Zoom.Enabled) {