You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Retrieves the starting layout information for a supplementary view being inserted into the collection view.
683
687
publicoverridefunc initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind:String, at elementIndexPath:IndexPath)->UICollectionViewLayoutAttributes?{
684
688
varattributes:ChatLayoutAttributes?
@@ -696,7 +700,7 @@ public final class ChatLayout: UICollectionViewLayout {
696
700
697
701
if #available(iOS 13.0,*){
698
702
}else{
699
-
if controller.reloadedIndexes.contains(initialIndexPath) || controller.reloadedSectionsIndexes.contains(elementIndexPath.section){
703
+
if controller.reloadedSectionsIndexes.contains(elementIndexPath.section){
700
704
// It is needed to position the new cell in the middle of the old cell on ios 12
0 commit comments