mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 12:44:58 +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();
|
FeatureEventGroup.RetrieveAllEvents();
|
||||||
|
|
||||||
// Add to the global class for tracking
|
// Add to the global class for tracking
|
||||||
//Global.Scheduler.AddEventGroup(FeatureEventGroup);
|
Scheduler.AddEventGroup(FeatureEventGroup);
|
||||||
|
|
||||||
AddPostActivationAction(() =>
|
AddPostActivationAction(() =>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -590,9 +590,9 @@ namespace PepperDash.Essentials
|
|||||||
// Do we need to check where the UI is? No?
|
// Do we need to check where the UI is? No?
|
||||||
var timer = CurrentRoom.ShutdownPromptTimer;
|
var timer = CurrentRoom.ShutdownPromptTimer;
|
||||||
EndMeetingButtonSig.BoolValue = true;
|
EndMeetingButtonSig.BoolValue = true;
|
||||||
ShareButtonSig.BoolValue = false;
|
ShareButtonSig.BoolValue = false;
|
||||||
|
|
||||||
if (CurrentRoom.ShutdownType == eShutdownType.Manual)
|
if (CurrentRoom.ShutdownType == eShutdownType.Manual || CurrentRoom.ShutdownType == eShutdownType.Vacancy)
|
||||||
{
|
{
|
||||||
PowerDownModal = new ModalDialog(TriList);
|
PowerDownModal = new ModalDialog(TriList);
|
||||||
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);
|
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);
|
||||||
|
|||||||
@@ -763,7 +763,7 @@ namespace PepperDash.Essentials
|
|||||||
var timer = CurrentRoom.ShutdownPromptTimer;
|
var timer = CurrentRoom.ShutdownPromptTimer;
|
||||||
SetActivityFooterFeedbacks();
|
SetActivityFooterFeedbacks();
|
||||||
|
|
||||||
if (CurrentRoom.ShutdownType == eShutdownType.Manual)
|
if (CurrentRoom.ShutdownType == eShutdownType.Manual || CurrentRoom.ShutdownType == eShutdownType.Vacancy)
|
||||||
{
|
{
|
||||||
PowerDownModal = new ModalDialog(TriList);
|
PowerDownModal = new ModalDialog(TriList);
|
||||||
var message = string.Format("Meeting will end in {0} seconds", CurrentRoom.ShutdownPromptSeconds);
|
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