Fix chat discrepancies with the "is composing" indicator

This commit is contained in:
Guillaume BIENKOWSKI 2014-11-21 16:31:18 +01:00
parent bf44fc197a
commit 8af2025ba5

View file

@ -403,13 +403,13 @@ static void message_status(LinphoneChatMessage* msg,LinphoneChatMessageState sta
newTableFrame.size.height += newComposingFrame.size.height;
newComposingFrame.origin.y = keyboardFrame.origin.y;
}
composingVisible = visible;
[UIView animateWithDuration:delay
animations:^{
self.tableController.tableView.frame = newTableFrame;
self.composeIndicatorView.frame = newComposingFrame;
}
completion:^(BOOL finished) {
composingVisible = visible;
[self.tableController scrollToBottom:TRUE];
}];
}