mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-04-27 02:14:45 +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)
|
.listRowBackground(viewModel.shouldHighlightRow ? theme.secondaryBackgroundColor : theme.primaryBackgroundColor)
|
||||||
.swipeActions(edge: .trailing) {
|
.swipeActions(edge: .trailing) {
|
||||||
trailinSwipeActions
|
if !viewModel.isCompact {
|
||||||
|
trailinSwipeActions
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.swipeActions(edge: .leading) {
|
.swipeActions(edge: .leading) {
|
||||||
leadingSwipeActions
|
if !viewModel.isCompact {
|
||||||
|
leadingSwipeActions
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.accessibilityElement(children: viewModel.isFocused ? .contain : .combine)
|
.accessibilityElement(children: viewModel.isFocused ? .contain : .combine)
|
||||||
.accessibilityActions {
|
.accessibilityActions {
|
||||||
|
|
Loading…
Reference in a new issue