Fix double swipe actions close #615
This commit is contained in:
parent
aae6b12666
commit
4c40adc195
|
@ -85,10 +85,14 @@ public struct StatusRowView: View {
|
|||
}
|
||||
.listRowBackground(viewModel.shouldHighlightRow ? theme.secondaryBackgroundColor : theme.primaryBackgroundColor)
|
||||
.swipeActions(edge: .trailing) {
|
||||
trailinSwipeActions
|
||||
if !viewModel.isCompact {
|
||||
trailinSwipeActions
|
||||
}
|
||||
}
|
||||
.swipeActions(edge: .leading) {
|
||||
leadingSwipeActions
|
||||
if !viewModel.isCompact {
|
||||
leadingSwipeActions
|
||||
}
|
||||
}
|
||||
.accessibilityElement(children: viewModel.isFocused ? .contain : .combine)
|
||||
.accessibilityActions {
|
||||
|
|
Loading…
Reference in New Issue