зеркало из https://github.com/nextcloud/talk-ios.git
Scroll first room with unread mention to the middle.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
aad3c87540
Коммит
42779cccdc
|
@ -618,7 +618,7 @@ typedef void (^FetchRoomsCompletionBlock)(BOOL success);
|
|||
- (void)unreadMentionsBottomButtonPressed:(id)sender
|
||||
{
|
||||
if (_nextRoomWithMentionIndexPath) {
|
||||
[self.tableView scrollToRowAtIndexPath:_nextRoomWithMentionIndexPath atScrollPosition:UITableViewScrollPositionTop animated:YES];
|
||||
[self.tableView scrollToRowAtIndexPath:_nextRoomWithMentionIndexPath atScrollPosition:UITableViewScrollPositionMiddle animated:YES];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче