Fix media cropping.
// FREEBIE
This commit is contained in:
parent
132d5b3408
commit
46dc0acdfb
@ -548,7 +548,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
- (void)cropViewToBubbbleShape:(UIView *)view
|
||||
{
|
||||
view.frame = self.bounds;
|
||||
[self layoutIfNeeded];
|
||||
view.frame = self.payloadView.bounds;
|
||||
[JSQMessagesMediaViewBubbleImageMasker applyBubbleImageMaskToMediaView:view isOutgoing:!self.isIncoming];
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user