Refine message view's initial range size.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-09-01 18:19:51 -04:00
parent a1cb2c015e
commit 6a2d14ad2a
1 changed files with 2 additions and 0 deletions

View File

@ -488,6 +488,8 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
[self.uiDatabaseConnection beginLongLivedReadTransaction];
// We need to update the "unread indicator" _before_ we determine the initial range
// size, since it depends on where the unread indicator is placed.
self.page = 0;
[self ensureDynamicInteractions];