Skip to content

Commit

Permalink
Fix: 회원가입 후 로그인으로이동
Browse files Browse the repository at this point in the history
  • Loading branch information
aengzu committed Oct 18, 2024
1 parent f821929 commit 0a59f4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'package:get/get.dart';
import 'package:palink_v2/domain/model/auth/signup_model.dart';
import 'package:palink_v2/domain/model/user/user.dart';
import 'package:palink_v2/domain/usecase/sign_up_usecase.dart';
import 'package:palink_v2/presentation/screens/auth/view/login_view.dart';
import 'package:palink_v2/presentation/screens/main_screens.dart';

class SignupViewModel extends GetxController {
Expand Down Expand Up @@ -31,7 +32,7 @@ class SignupViewModel extends GetxController {
personalityType: personalityType));
if (result != null) {
// 가입 성공
Get.off(() => const MainScreens());
Get.off(() => LoginView());
} else {
_showError('회원가입에 실패했습니다.n');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,11 @@ class ChatViewModel extends GetxController {
case '미연':
return 11; // 미연은 10회 대화 제한
case '세진':
return 10; // 세진은 8회 대화 제한
return 11; // 세진은 8회 대화 제한
case '현아':
return 9; // 현아는 7회 대화 제한
return 11; // 현아는 7회 대화 제한
case '진혁':
return 8; // 진혁은 6회 대화 제한
return 11; // 진혁은 6회 대화 제한
default:
return 0;
}
Expand Down

0 comments on commit 0a59f4c

Please sign in to comment.