mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-03-28 12:35:27 +00:00
Fix double swipe actions close #615
This commit is contained in:
parent
aae6b12666
commit
4c40adc195
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue