diff --git a/Tusker/Views/Attachments/AttachmentsContainerView.swift b/Tusker/Views/Attachments/AttachmentsContainerView.swift index 666ccd4d43..9c1b34daea 100644 --- a/Tusker/Views/Attachments/AttachmentsContainerView.swift +++ b/Tusker/Views/Attachments/AttachmentsContainerView.swift @@ -57,6 +57,7 @@ class AttachmentsContainerView: UIView { private func commonInit() { self.isUserInteractionEnabled = true self.layer.cornerRadius = 5 + self.layer.cornerCurve = .continuous createBlurView() createHideButton() @@ -323,6 +324,9 @@ class AttachmentsContainerView: UIView { let blur = UIBlurEffect(style: .dark) let blurView = UIVisualEffectView(effect: blur) blurView.alpha = 0 + blurView.layer.cornerRadius = 5 + blurView.layer.cornerCurve = .continuous + blurView.layer.masksToBounds = true blurView.translatesAutoresizingMaskIntoConstraints = false fillView(blurView) let vibrancyView = UIVisualEffectView(effect: UIVibrancyEffect(blurEffect: blur, style: .label))