Rooms global search: Refresh the current search results when view will appear

This commit is contained in:
giomfo
2016-06-16 10:50:18 +02:00
parent df966753c3
commit 7a8f82f75e
@@ -159,6 +159,12 @@
// so viewDidLayoutSubviews will refresh the layout bounds.
[self.view.layer addSublayer:tableViewMaskLayer];
}
// Refresh the search results if a search in in progress
if (!self.searchBarHidden)
{
[self updateSearch];
}
// Add new room button programatically
if (!createNewRoomImageView)