1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Null check for mContent in Deactivate

This commit is contained in:
Brian Fiete 2022-05-13 12:11:19 -07:00
parent a8a02870dc
commit 6273c242f2

View file

@ -100,7 +100,8 @@ namespace Beefy.widgets
if (mIsActive)
{
mIsActive = false;
mTabbedView.RemoveWidget(mContent);
if (mContent != null)
mTabbedView.RemoveWidget(mContent);
}
}