From 0613cf3bb790bb27395a12897b17db7f71795b33 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 28 Jun 2018 14:41:27 -0400 Subject: [PATCH] Fix bubble strokes. --- .../ConversationView/Cells/OWSMessageBubbleView.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m index 7568006e2..00aaa599c 100644 --- a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m +++ b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageBubbleView.m @@ -447,6 +447,10 @@ NS_ASSUME_NONNULL_BEGIN }]; [self updateBubbleColor]; + + // If we're stroking the bubble edge, ensure the stroke + // view is in front of its peers to prevent it from being occluded. + [self.bubbleStrokeView.superview bringSubviewToFront:self.bubbleStrokeView]; } - (void)updateBubbleColor @@ -1247,6 +1251,7 @@ NS_ASSUME_NONNULL_BEGIN [self.mediaShadowView1 removeFromSuperview]; [self.mediaShadowView2 removeFromSuperview]; [self.mediaClipView removeFromSuperview]; + [self.bubbleStrokeView removeFromSuperview]; [self.footerView removeFromSuperview];