Merge branch 'charlesmchen/albumStrokes'

This commit is contained in:
Matthew Chen 2018-11-08 13:46:09 -05:00
commit 2f8b25b4b3

View file

@ -794,14 +794,6 @@ const UIDataDetectorTypes kOWSAllowedDataDetectorTypes
self.unloadCellContentBlock = ^{
[albumView unloadMedia];
};
for (UIView *itemView in albumView.itemViews) {
OWSBubbleShapeView *strokeView = [[OWSBubbleShapeView alloc] initDraw];
strokeView.strokeColor = [UIColor colorWithWhite:0.5f alpha:0.4f];
strokeView.strokeThickness = 1.f;
[itemView addSubview:strokeView];
[self.bubbleView addPartnerView:strokeView];
[self.viewConstraints addObjectsFromArray:[strokeView ows_autoPinToSuperviewEdges]];
}
return albumView;
}