c-villain / SwipeActions

Swipe actions for any view, swipe menu based on SwiftUI, full swiping and RTL languages supporting, iOS 13+, add your own views to swipes
https://t.me/swiftui_dev
MIT License
232 stars 27 forks source link

SwipeState should update #20

Closed jostster closed 5 months ago

jostster commented 10 months ago

Shouldn't the state for SwipeState update when a cell is swiped? It looks like the code is just comparing the tag's with the id so if we add logic to check if a cell is already swiped, the state is still .untouched.

c-villain commented 10 months ago

@jostster

so if we add logic to check if a cell is already swiped, the state is still .untouched.

What do u mean? Plz share the code...

is just comparing the tag's with the id

Not quite so... see the logic in this code .valueChanged(of: dragGestureActive) in SwipeActions.swift

c-villain commented 9 months ago

@jostster yeap, confirmed, try to fix it =)

c-villain commented 5 months ago

fix in 0.3.4