mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-02-03 19:42:20 +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 {
|
if !isCompact {
|
||||||
StatusRowHeaderView(viewModel: viewModel)
|
StatusRowHeaderView(viewModel: viewModel)
|
||||||
}
|
}
|
||||||
StatusRowContentView(viewModel: viewModel)
|
if !viewModel.isHierarchyExplicitlyCollapsed {
|
||||||
.contentShape(Rectangle())
|
StatusRowContentView(viewModel: viewModel)
|
||||||
.onTapGesture {
|
.contentShape(Rectangle())
|
||||||
handleTap()
|
.onTapGesture {
|
||||||
}
|
handleTap()
|
||||||
.accessibilityActions {
|
|
||||||
if isFocused, viewModel.showActions {
|
|
||||||
accessibilityActions
|
|
||||||
}
|
}
|
||||||
}
|
.accessibilityActions {
|
||||||
|
if isFocused, viewModel.showActions {
|
||||||
|
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