Refine 'new message' animations.

This commit is contained in:
Matthew Chen 2018-07-31 16:06:58 -04:00 committed by Michael Kirk
parent 24d85898e1
commit 995c2f2a2a

View file

@ -3468,9 +3468,9 @@ typedef enum : NSUInteger {
}
[self updateLastVisibleTimestamp];
if (scrollToBottom) {
[self scrollToBottomAnimated:shouldAnimateScrollToBottom && shouldAnimateUpdates];
if (scrollToBottom && shouldAnimateUpdates) {
[self scrollToBottomAnimated:shouldAnimateScrollToBottom];
}
};
if (shouldAnimateUpdates) {