mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
add null check to popup handler method
This commit is contained in:
@@ -349,7 +349,7 @@ namespace PepperDash.Essentials
|
|||||||
// Check if the popup interlock is shown, and if one of the header popups is current, then show the carets subpage
|
// Check if the popup interlock is shown, and if one of the header popups is current, then show the carets subpage
|
||||||
if (e.IsShown)
|
if (e.IsShown)
|
||||||
{
|
{
|
||||||
if (e.NewJoin == Parent.EnvironmentDriver.BackgroundSubpageJoin)
|
if (Parent.EnvironmentDriver != null && e.NewJoin == Parent.EnvironmentDriver.BackgroundSubpageJoin)
|
||||||
headerPopupShown = true;
|
headerPopupShown = true;
|
||||||
else if (e.NewJoin == UIBoolJoin.HeaderActiveCallsListVisible)
|
else if (e.NewJoin == UIBoolJoin.HeaderActiveCallsListVisible)
|
||||||
headerPopupShown = true;
|
headerPopupShown = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user