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,16 +86,18 @@ public struct StatusRowView: View {
if !isCompact {
StatusRowHeaderView(viewModel: viewModel)
}
StatusRowContentView(viewModel: viewModel)
.contentShape(Rectangle())
.onTapGesture {
handleTap()
}
.accessibilityActions {
if isFocused, viewModel.showActions {
accessibilityActions
if !viewModel.isHierarchyExplicitlyCollapsed {
StatusRowContentView(viewModel: viewModel)
.contentShape(Rectangle())
.onTapGesture {
handleTap()
}
}
.accessibilityActions {
if isFocused, viewModel.showActions {
accessibilityActions
}
}
}
if !reasons.contains(.placeholder),
viewModel.showActions, isFocused || theme.statusActionsDisplay != .none,
!isInCaptureMode