mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-19 20:26:28 +00:00
hide link previews when a status is hidden behind a content warning (#114)
This commit is contained in:
parent
f071b3b683
commit
7e0c41ab7e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ final class StatusBodyView: UIView {
|
||||||
pollView.isAccessibilityElement = !isContextParent || viewModel.hasVotedInPoll || viewModel.isPollExpired
|
pollView.isAccessibilityElement = !isContextParent || viewModel.hasVotedInPoll || viewModel.isPollExpired
|
||||||
|
|
||||||
cardView.viewModel = viewModel.cardViewModel
|
cardView.viewModel = viewModel.cardViewModel
|
||||||
cardView.isHidden = viewModel.cardViewModel == nil
|
cardView.isHidden = viewModel.cardViewModel == nil || !viewModel.shouldShowContent
|
||||||
|
|
||||||
accessibilityAttributedLabel = accessibilityAttributedLabel(forceShowContent: false)
|
accessibilityAttributedLabel = accessibilityAttributedLabel(forceShowContent: false)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue