Merge pull request #25 from Manty-K/master

fix : intro_screen next button clickable
This commit is contained in:
Shawn 2022-09-12 19:35:38 -06:00 committed by GitHub
commit abaebdbdba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,10 @@ class _IntroScreenState extends State<IntroScreen> {
}
void _handleIntroCompletePressed() {
context.go(ScreenPaths.home);
settingsLogic.hasCompletedOnboarding.value = true;
if (_currentPage.value == pageData.length - 1) {
context.go(ScreenPaths.home);
settingsLogic.hasCompletedOnboarding.value = true;
}
}
void _handlePageChanged() {