From 72fbd1b82041082dfb25cfdf0f28db65fd1c878a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 25 Mar 2019 16:07:22 +0300 Subject: Scroll to reply from notification --- Juick/ViewControllers/MessagesViewController.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Juick/ViewControllers/MessagesViewController.h') diff --git a/Juick/ViewControllers/MessagesViewController.h b/Juick/ViewControllers/MessagesViewController.h index c8eb4cf..7025e8b 100644 --- a/Juick/ViewControllers/MessagesViewController.h +++ b/Juick/ViewControllers/MessagesViewController.h @@ -18,11 +18,11 @@ extern NSString* const messageCellIdentifier; @interface MessagesViewController : UITableViewController @property(nonatomic, strong) NSString *path; @property(nonatomic, strong) NSDictionary *params; -@property(nonatomic, assign) BOOL shouldScrollToBottomOnRefresh; - +@property(nonatomic, assign) BOOL shouldScrollToUnreadOnRefresh; +@property(nonatomic) NSNumber * firstUnread; -(void) refreshData; --(void) viewThreadForMessage:(Message *)msg mid:(NSNumber *)mid; +-(void) viewThreadForMessage:(Message *)msg mid:(NSNumber *)mid scrollTo:(NSNumber *)rid; @property(nonatomic, strong) NSMutableArray *messages; @property(nonatomic, assign) Boolean dataLoading; -- cgit v1.2.3