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/FeedViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Juick/ViewControllers/FeedViewController.m') diff --git a/Juick/ViewControllers/FeedViewController.m b/Juick/ViewControllers/FeedViewController.m index fc8c387..523ea52 100644 --- a/Juick/ViewControllers/FeedViewController.m +++ b/Juick/ViewControllers/FeedViewController.m @@ -25,7 +25,7 @@ self.messagesDelegate = self; self.title = @"Today"; [self refreshPath]; - [self setShouldScrollToBottomOnRefresh:NO]; + [self setShouldScrollToUnreadOnRefresh:NO]; [super viewDidLoad]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(userDidSignedIn:) name:UserSignedInNotificationName object:nil]; } @@ -40,7 +40,7 @@ if (lastMsg != nil) { NSNumber *lastMid = lastMsg.mid; self.params = [@{@"before_mid":lastMid} mutableCopy]; - [self setShouldScrollToBottomOnRefresh:NO]; + [self setShouldScrollToUnreadOnRefresh:NO]; [self refreshData]; } } -- cgit v1.2.3