Directory server list: After directory change, make the directory section appear full-page

This commit is contained in:
manuroe
2017-04-24 09:06:42 +02:00
parent 69de0fca07
commit 56df43e2c4
+5 -2
View File
@@ -147,9 +147,12 @@
// The table view is automatically filled
[self removeSpinnerFooterView];
// Make the directory section appear full-page
[self.recentsTableView scrollToRowAtIndexPath:[NSIndexPath indexPathForItem:0 inSection:recentsDataSource.directorySection] atScrollPosition:UITableViewScrollPositionTop animated:YES];
} failure:^(NSError *error) {
[self removeSpinnerFooterView];
}];
}