Merge pull request #10 from vector-im/fav_recents_display

Fav recents display
This commit is contained in:
Yannick LE COLLEN
2015-12-04 09:02:31 +01:00
4 changed files with 313 additions and 0 deletions
@@ -21,6 +21,8 @@
#import "NSBundle+MatrixKit.h"
#import "RecentsDataSource.h"
@interface RecentsViewController ()
{
// Recents refresh handling
@@ -593,6 +595,13 @@ static NSMutableDictionary* backgroundByImageNameDict;
[super searchBarCancelButtonClicked: searchBar];
}
#pragma mark - UITableView delegate
- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
{
return [(RecentsDataSource*)self.dataSource heightForHeaderInSection:section];
}
#pragma mark - Actions.
- (void)onNewRoomPressed