Skip to content

Commit

Permalink
Merge pull request #63 from 220v-K/chatNumRecover
Browse files Browse the repository at this point in the history
recover chat Number
  • Loading branch information
220v-K authored Jan 9, 2025
2 parents 70cd0a7 + a90d9fe commit 0dc735f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/viewModels/chatting/chatting_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ class ChattingViewModel extends GetxController {
} else {
print("질문 리스트 사용, 질문 index = $currentPredefinedQuestionIndex");
// 미리 정의된 질문 사용
//! 사전 생성 질문 개수 10개로 줄인 부분. 개수 조정 가능
// if (currentPredefinedQuestionIndex + 1 < predefinedQuestions.length) {
if (currentPredefinedQuestionIndex + 1 < 2) {
// ! 사전 생성 질문 개수 10개로 줄인 부분. 개수 조정 가능
if (currentPredefinedQuestionIndex + 1 < predefinedQuestions.length) {
// if (currentPredefinedQuestionIndex + 1 < 2) {
currentPredefinedQuestionIndex++;
nextQuestion = predefinedQuestions[currentPredefinedQuestionIndex];
additionalQuestionCount = 0;
Expand Down
3 changes: 2 additions & 1 deletion lib/views/chatting/chatting_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ChattingScreen extends BaseScreen<ChattingViewModel> {
// width: 40,
// height: 40,
// decoration: BoxDecoration(
// color: ColorSystem.mainBlue,
// color: ColorSystem.white,
// shape: BoxShape.circle,
// boxShadow: [
// BoxShadow(
Expand All @@ -84,6 +84,7 @@ class ChattingScreen extends BaseScreen<ChattingViewModel> {
// child: CupertinoButton(
// onPressed: () => viewModel.sendDummyPrompt(),
// padding: EdgeInsets.zero,
// // child: Container(width: 20, height: 20, color: Colors.white),
// child: const Icon(
// CupertinoIcons.add,
// color: ColorSystem.white,
Expand Down

0 comments on commit 0dc735f

Please sign in to comment.