Skip to content

Commit

Permalink
[fix/#169] 열만 입력 예외 처리 조건문 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
minju1459 committed Aug 30, 2024
1 parent 5d4fd36 commit 07bc1f1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Binary file modified buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin
Binary file not shown.
Binary file not shown.
Binary file modified buildSrc/build/libs/buildSrc.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -515,13 +515,15 @@ class SelectSeatDialog : BindingBottomSheetDialog<FragmentSelectSeatBottomSheetB
}
}
if (binding.clOnlyColumn.isVisible) {
viewModel.userSeatState.value = ValidSeat.NONE
if (matchingRowInfo == null && viewModel.selectedColumn.value.isNotEmpty()) {
viewModel.userSeatState.value = ValidSeat.INVALID_COLUMN
} else if (matchingRowInfo != null) {
viewModel.userSeatState.value = ValidSeat.VALID
} else {
if (range.code == viewModel.selectedBlock.value) {
viewModel.userSeatState.value = ValidSeat.NONE
if (matchingRowInfo == null && viewModel.selectedColumn.value.isNotEmpty()) {
viewModel.userSeatState.value = ValidSeat.INVALID_COLUMN
} else if (matchingRowInfo != null) {
viewModel.userSeatState.value = ValidSeat.VALID
} else {
viewModel.userSeatState.value = ValidSeat.NONE
}
}
}
if (binding.clOnlyNumber.isVisible) {
Expand Down

0 comments on commit 07bc1f1

Please sign in to comment.