Skip to content

Commit

Permalink
BF: Cannot join from a room preview for room with a long topic (#1645)
Browse files Browse the repository at this point in the history
Show the expanded room headers on iPad
  • Loading branch information
manuroe committed Mar 12, 2018
1 parent c5d9957 commit c87be81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Riot/ViewController/RoomViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,8 @@ - (void)refreshPreviewHeader:(BOOL)isLandscapeOriented
{
if (previewHeader)
{
if (isLandscapeOriented)
if (isLandscapeOriented
&& [GBDeviceInfo deviceInfo].family == GBDeviceFamilyiPad)
{
CGRect frame = self.navigationController.navigationBar.frame;

Expand Down

0 comments on commit c87be81

Please sign in to comment.