mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Chat: Handle tap on icon in case of unsent messages notification.
This commit is contained in:
@@ -20,11 +20,12 @@
|
||||
/**
|
||||
`RoomExtraInfosInfoView` instance is a view used to display extra information
|
||||
*/
|
||||
@interface RoomActivitiesView : MXKRoomActivitiesView <UIGestureRecognizerDelegate>
|
||||
@interface RoomActivitiesView : MXKRoomActivitiesView <UITextViewDelegate, UIGestureRecognizerDelegate>
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIView *separatorView;
|
||||
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
|
||||
@property (weak, nonatomic) IBOutlet UILabel *messageLabel;
|
||||
@property (weak, nonatomic) IBOutlet UITextView *messageTextView;
|
||||
|
||||
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *mainHeightConstraint;
|
||||
|
||||
@@ -32,10 +33,10 @@
|
||||
Notify that some messages are not sent.
|
||||
Replace the current notification if any.
|
||||
|
||||
@param labelText the notification message
|
||||
@param onLabelTapGesture block called when user taps on label.
|
||||
@param onResendLinkPressed block called when user selects the resend link.
|
||||
@param onIconTapGesture block called when user taps on notification icon.
|
||||
*/
|
||||
- (void)displayUnsentMessagesNotification:(NSAttributedString*)labelText onLabelTapGesture:(void (^)(void))onLabelTapGesture;
|
||||
- (void)displayUnsentMessagesNotificationWithResendLink:(void (^)(void))onResendLinkPressed andIconTapGesture:(void (^)(void))onIconTapGesture;
|
||||
|
||||
/**
|
||||
Display network error.
|
||||
|
||||
Reference in New Issue
Block a user