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:
parent
a8a02870dc
commit
6273c242f2
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ namespace Beefy.widgets
|
|||
if (mIsActive)
|
||||
{
|
||||
mIsActive = false;
|
||||
mTabbedView.RemoveWidget(mContent);
|
||||
if (mContent != null)
|
||||
mTabbedView.RemoveWidget(mContent);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue