Skip to content

Commit

Permalink
Merge pull request #3 from molpoo/fix/prevviewstate-wasnt-update-when…
Browse files Browse the repository at this point in the history
…-flipontouch-is-false

fix: onFlippedListener not called when flipOnTouch is set to false.

Thank you @molpoo for your contributions 🙏🏽
  • Loading branch information
wajahatkarim3 authored Sep 27, 2022
2 parents 9a66d6b + 1222930 commit f7939c0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ fun Flippable(
LaunchedEffect(key1 = flipController, block = {
flipController.flipRequests
.onEach {
prevViewState = flippableState
flippableState = it
}
.launchIn(this)
Expand Down

0 comments on commit f7939c0

Please sign in to comment.