Add presence indicator to RoomTitleView

This commit is contained in:
aringenbach
2022-04-01 13:31:15 +02:00
parent b79c924a18
commit fec3a9a9c8
3 changed files with 24 additions and 2 deletions
@@ -17,6 +17,7 @@
#import "MatrixKit.h"
#import "RoomPreviewData.h"
#import "PresenceIndicatorView.h"
// We add here a protocol to handle tap gesture in title view.
@class RoomTitleView;
@@ -37,6 +38,7 @@
@property (weak, nonatomic) IBOutlet UIView *titleMask;
@property (weak, nonatomic) IBOutlet UIImageView *badgeImageView;
@property (weak, nonatomic) IBOutlet MXKImageView *pictureView;
@property (weak, nonatomic) IBOutlet PresenceIndicatorView *presenceIndicatorView;
@property (weak, nonatomic) IBOutlet UILabel *missedDiscussionsBadgeLabel;
@property (weak, nonatomic) IBOutlet UILabel *typingLabel;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *displayNameCenterYConstraint;