mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
add null check to popup handler method
This commit is contained in:
parent
9af95e017a
commit
4bad8585e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
if (e.IsShown)
|
||||
{
|
||||
if (e.NewJoin == Parent.EnvironmentDriver.BackgroundSubpageJoin)
|
||||
if (Parent.EnvironmentDriver != null && e.NewJoin == Parent.EnvironmentDriver.BackgroundSubpageJoin)
|
||||
headerPopupShown = true;
|
||||
else if (e.NewJoin == UIBoolJoin.HeaderActiveCallsListVisible)
|
||||
headerPopupShown = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue