summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/DiscoverViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/ViewControllers/DiscoverViewController.m')
-rw-r--r--Juick/ViewControllers/DiscoverViewController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Juick/ViewControllers/DiscoverViewController.m b/Juick/ViewControllers/DiscoverViewController.m
index f75e7d5..7bf9f74 100644
--- a/Juick/ViewControllers/DiscoverViewController.m
+++ b/Juick/ViewControllers/DiscoverViewController.m
@@ -18,7 +18,7 @@
self.messagesDelegate = self;
self.title = @"Discover";
self.path = [APIClient messagesUrl];
- [self setShouldScrollToBottomOnRefresh:NO];
+ [self setShouldScrollToUnreadOnRefresh:NO];
[super viewDidLoad];
}
@@ -27,7 +27,7 @@
if (lastMsg != nil) {
NSNumber *lastMid = lastMsg.mid;
self.params = [@{@"before_mid":lastMid} mutableCopy];
- [self setShouldScrollToBottomOnRefresh:NO];
+ [self setShouldScrollToUnreadOnRefresh:NO];
[self refreshData];
}
}