From cd6225c438ce614a3d56e7058342553c138576c5 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 31 Jul 2018 17:43:27 -0400 Subject: [PATCH] Respond to CR. --- .../ConversationView/ConversationViewLayout.m | 20 ------------------- 1 file changed, 20 deletions(-) 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