Merge pull request #5539 from vector-im/ismail/5537_home_badges

Home Screen: Fix Section & TabBar Badges
This commit is contained in:
ismailgulek
2022-02-10 11:49:50 +03:00
committed by GitHub
14 changed files with 123 additions and 41 deletions
@@ -56,7 +56,7 @@
#pragma mark - Override MXKRecentsDataSource
- (UIView *)viewForHeaderInSection:(NSInteger)section withFrame:(CGRect)frame
- (UIView *)viewForHeaderInSection:(NSInteger)section withFrame:(CGRect)frame inTableView:(UITableView*)tableView
{
UIView *sectionHeader = nil;
@@ -88,9 +88,10 @@
@param section the section index
@param frame the drawing area for the header of the specified section.
@param tableView the table view
@return the section header.
*/
- (UIView *)viewForHeaderInSection:(NSInteger)section withFrame:(CGRect)frame;
- (UIView *)viewForHeaderInSection:(NSInteger)section withFrame:(CGRect)frame inTableView:(UITableView*)tableView;
/**
Get the data for the cell at the given index path.
@@ -257,7 +257,7 @@
}
}
- (UIView *)viewForHeaderInSection:(NSInteger)section withFrame:(CGRect)frame
- (UIView *)viewForHeaderInSection:(NSInteger)section withFrame:(CGRect)frame inTableView:(UITableView*)tableView
{
UIView *sectionHeader = nil;