diff --git a/Signal/src/ViewControllers/ConversationView/ConversationViewLayout.m b/Signal/src/ViewControllers/ConversationView/ConversationViewLayout.m index a65bb8a31..305b9686b 100644 --- a/Signal/src/ViewControllers/ConversationView/ConversationViewLayout.m +++ b/Signal/src/ViewControllers/ConversationView/ConversationViewLayout.m @@ -172,26 +172,6 @@ NS_ASSUME_NONNULL_BEGIN return self.collectionView.bounds.size.width != newBounds.size.width; } -- (nullable UICollectionViewLayoutAttributes *)initialLayoutAttributesForAppearingItemAtIndexPath: - (NSIndexPath *)indexPath -{ - UICollectionViewLayoutAttributes *_Nullable layoutAttributes = - [super initialLayoutAttributesForAppearingItemAtIndexPath:indexPath]; - // Don't fade in new cells. - layoutAttributes.alpha = 1.f; - return layoutAttributes; -} - -- (nullable UICollectionViewLayoutAttributes *)finalLayoutAttributesForDisappearingItemAtIndexPath: - (NSIndexPath *)indexPath -{ - UICollectionViewLayoutAttributes *_Nullable layoutAttributes = - [super finalLayoutAttributesForDisappearingItemAtIndexPath:indexPath]; - // Don't fade in new cells. - layoutAttributes.alpha = 1.f; - return layoutAttributes; -} - @end NS_ASSUME_NONNULL_END