Skip to content

Commit

Permalink
chore: ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
jinukeu committed Jan 15, 2024
1 parent 957134b commit c173b35
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,14 @@ fun SusuLimitDatePickerBottomSheet(
mutableIntStateOf(
when {
initialDay == null -> criteriaDay
(afterDate && initialYear != null && initialYear == criteriaYear && initialMonth != null &&
initialMonth == criteriaMonth && initialDay < criteriaDay) ||
(!afterDate && initialYear != null && initialYear == criteriaYear && initialMonth != null &&
initialMonth == criteriaMonth && initialDay > criteriaDay)
(
afterDate && initialYear != null && initialYear == criteriaYear && initialMonth != null &&
initialMonth == criteriaMonth && initialDay < criteriaDay
) ||
(
!afterDate && initialYear != null && initialYear == criteriaYear && initialMonth != null &&
initialMonth == criteriaMonth && initialDay > criteriaDay
)
-> criteriaDay
else -> initialDay
},
Expand Down

0 comments on commit c173b35

Please sign in to comment.