diff --git a/Tusker/Views/Attachments/AttachmentView.swift b/Tusker/Views/Attachments/AttachmentView.swift index 5b4353ca46..081f994068 100644 --- a/Tusker/Views/Attachments/AttachmentView.swift +++ b/Tusker/Views/Attachments/AttachmentView.swift @@ -380,6 +380,8 @@ class AttachmentView: GIFImageView { self.badgeContainer = stack stack.axis = .horizontal stack.spacing = 2 + // badges should appear on top of any subsequently added views (e.g., gifv) + stack.layer.zPosition = 100 stack.translatesAutoresizingMaskIntoConstraints = false let font = UIFontMetrics(forTextStyle: .caption1).scaledFont(for: .systemFont(ofSize: 13, weight: .bold))