Skip to content

Commit

Permalink
Merge pull request #171 from depromeet/fix/#169-minju-final-qa
Browse files Browse the repository at this point in the history
[FIX] 시야 등록 좌석 에러 처리 보완
  • Loading branch information
minju1459 authored Aug 30, 2024
2 parents 5d4fd36 + 9e7a255 commit 70c48d1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 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
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center"
android:paddingHorizontal="51dp"
android:text="전반적인 경기의 순간을 간직해요"
android:paddingHorizontal="24dp"
android:text="날씨, 경기 기록 등 나만의 순간을 간직해요"
android:textAppearance="@style/TextAppearance.Spot.Body03"
android:textColor="@color/color_foreground_caption"
app:layout_constraintEnd_toEndOf="parent"
Expand Down

0 comments on commit 70c48d1

Please sign in to comment.