dadalar / SwiftUI-CardStackView

A easy-to-use SwiftUI view for Tinder like cards on iOS, macOS & watchOS.
MIT License
488 stars 53 forks source link

Fixed using swipe threshold from configuration #8

Closed nomadplanet closed 2 years ago

nomadplanet commented 2 years ago

CardStackConfiguration declares a swipeThreshold that's not used anywhere.

Indeed, the value is hardcoded in the CardView.swipeDirection method.

dadalar commented 2 years ago

Hi Romain, nice catch! Thank you for your PR. I'm merging it now.

dadalar commented 2 years ago

I have also added a new tag: 0.0.6 meaning you can update the library through SPM.

nomadplanet commented 2 years ago

Thanks for the new tag.