fix : intro_screen next button clickable

This commit is contained in:
Manthan Khandale 2022-09-10 14:15:24 +05:30
parent b1f0bed1cc
commit e2706434fd

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() {