mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-30 21:04:48 +00:00
Updated UI drivers to make sure modal shutdown warning is shown when vacancy shutdown is triggered
This commit is contained in:
@@ -50,7 +50,7 @@ namespace PepperDash.Essentials.Room.Behaviours
|
||||
FeatureEventGroup.RetrieveAllEvents();
|
||||
|
||||
// Add to the global class for tracking
|
||||
//Global.Scheduler.AddEventGroup(FeatureEventGroup);
|
||||
Scheduler.AddEventGroup(FeatureEventGroup);
|
||||
|
||||
AddPostActivationAction(() =>
|
||||
{
|
||||
|
||||
@@ -590,9 +590,9 @@ namespace PepperDash.Essentials
|
||||
// Do we need to check where the UI is? No?
|
||||
var timer = CurrentRoom.ShutdownPromptTimer;
|
||||
EndMeetingButtonSig.BoolValue = true;
|
||||
ShareButtonSig.BoolValue = false;
|
||||
|
||||
if (CurrentRoom.ShutdownType == eShutdownType.Manual)
|
||||
ShareButtonSig.BoolValue = false;
|
||||
|
||||
if (CurrentRoom.ShutdownType == eShutdownType.Manual || CurrentRoom.ShutdownType == eShutdownType.Vacancy)
|
||||
{
|
||||
PowerDownModal = new ModalDialog(TriList);
|
||||
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);
|
||||
|
||||
@@ -763,7 +763,7 @@ namespace PepperDash.Essentials
|
||||
var timer = CurrentRoom.ShutdownPromptTimer;
|
||||
SetActivityFooterFeedbacks();
|
||||
|
||||
if (CurrentRoom.ShutdownType == eShutdownType.Manual)
|
||||
if (CurrentRoom.ShutdownType == eShutdownType.Manual || CurrentRoom.ShutdownType == eShutdownType.Vacancy)
|
||||
{
|
||||
PowerDownModal = new ModalDialog(TriList);
|
||||
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);
|
||||
|
||||
Submodule essentials-framework updated: 03a1cef777...5c2202723f
Reference in New Issue
Block a user