->Display the recents sorted by tags (favorites, converstations, lower priority)

-> the tag event is listened but seems bugged.
This commit is contained in:
yannick
2015-12-02 17:18:55 +01:00
parent fb99a80d46
commit 66f523a243
4 changed files with 263 additions and 0 deletions
@@ -21,6 +21,8 @@
#import "NSBundle+MatrixKit.h"
#import "RecentsDataSource.h"
@interface RecentsViewController ()
{
// Recents refresh handling
@@ -460,6 +462,13 @@
[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