mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-24 06:48:10 +00:00
Collapse post content too
This commit is contained in:
parent
b71e01a7a5
commit
412e16471b
1 changed files with 11 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue