Bug Fix: Room avatar is missing at room creation

https://github.com/vector-im/vector-ios/issues/243
This commit is contained in:
giomfo 2016-04-23 00:56:21 +02:00
parent 790f5b61d7
commit ebf9c9e910

View file

@ -631,8 +631,12 @@
// Enable the search button
self.navigationItem.rightBarButtonItem.enabled = YES;
[self setRoomTitleViewClass:RoomTitleView.class];
((RoomTitleView*)self.titleView).tapGestureDelegate = self;
// Do not change title view class here if the expanded header is visible.
if (self.expandedHeaderContainer.hidden)
{
[self setRoomTitleViewClass:RoomTitleView.class];
((RoomTitleView*)self.titleView).tapGestureDelegate = self;
}
}
else
{