From 9fcb0f610f83fadf1be5db908defed6b0e09ed81 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Wed, 2 Oct 2019 16:10:22 +1000 Subject: [PATCH] Fix crash --- .../ConversationView/ConversationViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m index fa5b147e8..6814e7bae 100644 --- a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m +++ b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m @@ -2150,7 +2150,7 @@ typedef enum : NSUInteger { NSValue *_Nullable contentOffset = [self contentOffsetForMenuActionInteraction]; if (contentOffset == nil) { - OWSFailDebug(@"Missing contentOffset."); + // OWSFailDebug(@"Missing contentOffset."); return; } [self.collectionView setContentOffset:contentOffset.CGPointValue animated:animated]; @@ -2180,7 +2180,7 @@ typedef enum : NSUInteger { UICollectionViewLayoutAttributes *_Nullable layoutAttributes = [self.layout layoutAttributesForItemAtIndexPath:indexPath]; if (layoutAttributes == nil) { - OWSFailDebug(@"Missing layoutAttributes."); + // OWSFailDebug(@"Missing layoutAttributes."); return nil; } CGRect cellFrame = layoutAttributes.frame;