From 285fbd4247815b9a79f380a510f681edfb6aeec3 Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Sat, 3 Dec 2022 14:02:22 -0500 Subject: [PATCH] Fix divider not visible in compact cards --- .../Sources/MastodonUI/View/Content/StatusCardControl.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/MastodonSDK/Sources/MastodonUI/View/Content/StatusCardControl.swift b/MastodonSDK/Sources/MastodonUI/View/Content/StatusCardControl.swift index 433719a06..3f297424c 100644 --- a/MastodonSDK/Sources/MastodonUI/View/Content/StatusCardControl.swift +++ b/MastodonSDK/Sources/MastodonUI/View/Content/StatusCardControl.swift @@ -221,6 +221,7 @@ public final class StatusCardControl: UIControl { imageView.widthAnchor.constraint(equalToConstant: 85), heightAnchor.constraint(equalToConstant: 85).priority(.defaultLow - 1), heightAnchor.constraint(greaterThanOrEqualToConstant: 85), + dividerView.heightAnchor.constraint(equalTo: containerStackView.heightAnchor), ] dividerConstraint = dividerView.widthAnchor.constraint(equalToConstant: pixelSize).activate() }