Bug Fix: Crash on Create a room button

#935
This commit is contained in:
giomfo
2017-01-16 16:40:28 +01:00
parent 4204b4dce6
commit d5199be3c7
+1 -1
View File
@@ -1171,7 +1171,7 @@
{
// This operation is ignored if a screen rotation is in progress,
// or if the view controller is not embedded inside a split view controller yet.
if (self.previewHeaderContainer.isHidden == isVisible && isSizeTransitionInProgress == NO && self.splitViewController)
if (self.previewHeaderContainer && self.previewHeaderContainer.isHidden == isVisible && isSizeTransitionInProgress == NO && self.splitViewController)
{
if (isVisible)
{