Merge branch 'nt/little-fixes69' into release/3.11.0
This commit is contained in:
commit
abbe2ebcd0
@ -54,7 +54,7 @@ public class ConversationMessageMapping: NSObject {
|
||||
}
|
||||
|
||||
// After this size, we'll start unloading interactions
|
||||
private let maxInteractionLimit: Int = 200
|
||||
private let maxInteractionLimit: Int = 500
|
||||
|
||||
// oldest saved message in a conversation has an index of 0, the most recent message has index conversationCount - 1.
|
||||
private var loadedIndexSet = IndexSet()
|
||||
|
||||
@ -1761,7 +1761,7 @@ typedef enum : NSUInteger {
|
||||
}
|
||||
[self.navigationController.view layoutIfNeeded];
|
||||
CGSize navControllerSize = self.navigationController.view.frame.size;
|
||||
CGFloat loadThreshold = MAX(navControllerSize.width, navControllerSize.height);
|
||||
CGFloat loadThreshold = MAX(navControllerSize.width, navControllerSize.height) * 3;
|
||||
|
||||
BOOL closeToTop = self.collectionView.contentOffset.y < loadThreshold;
|
||||
if (self.showLoadOlderHeader && closeToTop) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user