mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-02 19:29:27 +00:00
When calling setComposingVisible, check that the “is composing” message is visible as well as blocking text before scrolling to the bottom of the chat conversation view
This commit is contained in:
parent
233865747e
commit
03af1afac1
1 changed files with 5 additions and 3 deletions
|
|
@ -677,9 +677,11 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
completion:^(BOOL finished) {
|
||||
_composeIndicatorView.hidden = !visible;
|
||||
}];
|
||||
if (_tableController.tableView.contentOffset.y + newComposingFrame.size.height >= (_tableController.tableView.contentSize.height - _tableController.tableView.frame.size.height)) {
|
||||
[_tableController scrollToBottom:TRUE];
|
||||
}
|
||||
if (visible) {
|
||||
if (_tableController.tableView.contentOffset.y + newComposingFrame.size.height >= (_tableController.tableView.contentSize.height - _tableController.tableView.frame.size.height)) {
|
||||
[_tableController scrollToBottom:TRUE];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL) groupCallAvailable {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue