mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Move invites to dedicated sections and enable section collapse (#5683)
* Display invites in dedicated sections * Activate shrinkable and fix home number of rows for section * Rework section header * Display badge in people and room tabs * Add changelog & remove useless todo * Improve isSectionShrinked condition, remove useless import and shrinkable sets * Restore invitation count in tab bar badge * Display badge for invites section * Add comment on invites count * Update right accessory view on data source update Co-authored-by: Arnaud Ringenbach <arnaud.ringenbach@niji.fr>
This commit is contained in:
@@ -133,10 +133,15 @@ extern NSString *const kRecentsDataSourceTapOnDirectoryServerChange;
|
||||
- (void)forceRefresh;
|
||||
|
||||
/**
|
||||
Tell whether the sections are shrinkable. NO by default.
|
||||
Tell whether the sections are shrinkable. YES by default.
|
||||
*/
|
||||
@property (nonatomic) BOOL areSectionsShrinkable;
|
||||
|
||||
/**
|
||||
Return true if the given section is currently shrinked.
|
||||
*/
|
||||
- (BOOL)isSectionShrinkedAt:(NSInteger)section;
|
||||
|
||||
/**
|
||||
Get the sticky header view for the specified section.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user