Skip to content

Commit

Permalink
[Feat] 두번째 온보딩 텍스트 설정 (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
arinming committed Nov 3, 2024
1 parent e2d0fb4 commit f73433b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/view/on_boarding/on_boarding_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class OnBoardingScreen extends ConsumerWidget {
case "second":
currentIndex = "2";
enabled = true;
nextButtonText = '다음';
nextButtonText = motivation.value!.buttonText;
break;
case "third":
currentIndex = "3";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class OnBoardingMotivationNotifier extends _$OnBoardingMotivationNotifier {
}

Future<void> postMotivation(List<String> motivation) async {
final response = await UserRepository.postMotivation(motivation);
print(response);
await UserRepository.postMotivation(motivation);
}
}

0 comments on commit f73433b

Please sign in to comment.