Skip to content

Commit

Permalink
[수정] feedbackContent length 조건식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
x-0o0 authored Jan 28, 2024
1 parent 8649816 commit 3f8e206
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class FeedbackViewModel @Inject constructor(
when (it.length) {
0 -> FeedbackTextStatus.INITIAL
in 1..MIN_FEEDBACK_CONTENT_LENGTH -> FeedbackTextStatus.TOO_SHORT
in MIN_FEEDBACK_CONTENT_LENGTH + 1..MAX_FEEDBACK_CONTENT_LENGTH -> FeedbackTextStatus.NORMAL
in MIN_FEEDBACK_CONTENT_LENGTH..<MAX_FEEDBACK_CONTENT_LENGTH -> FeedbackTextStatus.NORMAL
else -> FeedbackTextStatus.TOO_LONG
}
}.stateIn(
Expand Down

0 comments on commit 3f8e206

Please sign in to comment.