mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-24 23:08:07 +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,6 +86,7 @@ public struct StatusRowView: View {
|
||||||
if !isCompact {
|
if !isCompact {
|
||||||
StatusRowHeaderView(viewModel: viewModel)
|
StatusRowHeaderView(viewModel: viewModel)
|
||||||
}
|
}
|
||||||
|
if !viewModel.isHierarchyExplicitlyCollapsed {
|
||||||
StatusRowContentView(viewModel: viewModel)
|
StatusRowContentView(viewModel: viewModel)
|
||||||
.contentShape(Rectangle())
|
.contentShape(Rectangle())
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
|
@ -96,6 +97,7 @@ public struct StatusRowView: View {
|
||||||
accessibilityActions
|
accessibilityActions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if !reasons.contains(.placeholder),
|
if !reasons.contains(.placeholder),
|
||||||
viewModel.showActions, isFocused || theme.statusActionsDisplay != .none,
|
viewModel.showActions, isFocused || theme.statusActionsDisplay != .none,
|
||||||
!isInCaptureMode
|
!isInCaptureMode
|
||||||
|
|
Loading…
Reference in a new issue