Collapse post content too

This commit is contained in:
fwcd 2024-08-03 04:17:50 +02:00
parent b71e01a7a5
commit 412e16471b

View file

@ -86,6 +86,7 @@ public struct StatusRowView: View {
if !isCompact {
StatusRowHeaderView(viewModel: viewModel)
}
if !viewModel.isHierarchyExplicitlyCollapsed {
StatusRowContentView(viewModel: viewModel)
.contentShape(Rectangle())
.onTapGesture {
@ -96,6 +97,7 @@ public struct StatusRowView: View {
accessibilityActions
}
}
}
if !reasons.contains(.placeholder),
viewModel.showActions, isFocused || theme.statusActionsDisplay != .none,
!isInCaptureMode