mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix crash
This commit is contained in:
parent
9b128748f6
commit
9fcb0f610f
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue