mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-25 14:32:20 +01:00
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
Block a user