openfoodfacts / openfoodfacts-androidapp

(Legacy) Native version of Open Food Facts on Android - Coders & Decoders welcome 🤳🥫
https://android.openfoodfacts.org
Apache License 2.0
768 stars 447 forks source link

Onboarding slide is exited on swiping right from the last slide #1432

Closed huzaifaiftikhar closed 6 years ago

huzaifaiftikhar commented 6 years ago

Checklist

Summary: Onboarding slide is exited and home screen is shown even if a user swipes right that means the user is trying to go back to the previous slide. The slides should exit only if a user swipes left on the last slide.

Steps to reproduce: After a fresh install, open the app. Onboarding slides will appear. Go to the last slide by swiping left 3 times. Now try to go back to the previous slide by swiping right once.

Expected behavior: The previous slide should have been displayed.

Observed behavior: The slides view is exited and Home screen is displayed.

Screenshots: videotogif_2018 04 09_23 46 29

huzaifaiftikhar commented 6 years ago

I am working on this.