Merge pull request #833 from nriley/searchbar

iOS: Don't scroll when going back to a story list (#832)
This commit is contained in:
Samuel Clay 2015-11-30 16:00:03 -08:00
commit 7f5d516be8

View file

@ -456,7 +456,7 @@
if (indexPath && location >= 0) {
[self.storyTitlesTable selectRowAtIndexPath:indexPath
animated:NO
scrollPosition:UITableViewScrollPositionMiddle];
scrollPosition:UITableViewScrollPositionNone];
if (deselect) {
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.1 * NSEC_PER_SEC),
dispatch_get_main_queue(), ^(void) {