Pods: Updated GBDeviceInfo

This commit is contained in:
manuroe
2016-07-01 08:42:10 +02:00
parent 6cc27772fc
commit e840704f4a
3 changed files with 2 additions and 13 deletions
+1 -1
View File
@@ -420,7 +420,7 @@
// It may correspond to an overlay mode in portrait and a side-by-side mode in landscape.
// This display mode change involves a change at the navigation bar level.
// If we don't hide the header, the navigation bar is in a wrong state after rotation. FIXME: Find a way to keep visible the header on rotation.
if ([GBDeviceInfo deviceInfo].display == GBDeviceDisplayiPad || [GBDeviceInfo deviceInfo].display >= GBDeviceDisplayiPhone55Inch)
if ([GBDeviceInfo deviceInfo].family == GBDeviceFamilyiPad || [GBDeviceInfo deviceInfo].displayInfo.display >= GBDeviceDisplay5p5Inch)
{
// Hide expanded header (if any) on device rotation
[self showExpandedHeader:NO];