Prepare UX rework:

- Handle the missed conversation badges for each tabBar icon.
This commit is contained in:
Giom Foret
2017-04-28 14:06:58 +02:00
parent be22728788
commit d47730b62c
5 changed files with 139 additions and 74 deletions
+30
View File
@@ -128,4 +128,34 @@ extern NSString *const kRecentsDataSourceTapOnDirectoryServerChange;
*/
- (void)moveRoomCell:(MXRoom*)room from:(NSIndexPath*)oldPath to:(NSIndexPath*)newPath success:(void (^)())moveSuccess failure:(void (^)(NSError *error))moveFailure;
/**
The current number of the favourite rooms with missed notifications.
*/
@property (nonatomic, readonly) NSUInteger missedFavouriteDiscussionsCount;
/**
The current number of the favourite rooms with unread highlighted messages.
*/
@property (nonatomic, readonly) NSUInteger missedHighlightFavouriteDiscussionsCount;
/**
The current number of the direct chats with missed notifications, including the invites.
*/
@property (nonatomic, readonly) NSUInteger missedDirectDiscussionsCount;
/**
The current number of the direct chats with unread highlighted messages.
*/
@property (nonatomic, readonly) NSUInteger missedHighlightDirectDiscussionsCount;
/**
The current number of the group chats with missed notifications, including the invites.
*/
@property (nonatomic, readonly) NSUInteger missedGroupDiscussionsCount;
/**
The current number of the group chats with unread highlighted messages.
*/
@property (nonatomic, readonly) NSUInteger missedHighlightGroupDiscussionsCount;
@end