From c87be8150cee5c73665600f7975d514aa0898a98 Mon Sep 17 00:00:00 2001 From: manuroe Date: Mon, 12 Mar 2018 15:56:41 +0100 Subject: [PATCH] BF: Cannot join from a room preview for room with a long topic (#1645) Show the expanded room headers on iPad --- Riot/ViewController/RoomViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Riot/ViewController/RoomViewController.m b/Riot/ViewController/RoomViewController.m index 4afd9fb214..8a737c7801 100644 --- a/Riot/ViewController/RoomViewController.m +++ b/Riot/ViewController/RoomViewController.m @@ -1583,7 +1583,8 @@ - (void)refreshPreviewHeader:(BOOL)isLandscapeOriented { if (previewHeader) { - if (isLandscapeOriented) + if (isLandscapeOriented + && [GBDeviceInfo deviceInfo].family == GBDeviceFamilyiPad) { CGRect frame = self.navigationController.navigationBar.frame;