We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c6b6d commit 76611f2Copy full SHA for 76611f2
1 file changed
feature/home/src/main/java/com/terning/feature/home/component/bottomsheet/HomeYearMonthPicker.kt
@@ -70,10 +70,10 @@ internal fun HomeYearMonthPicker(
70
val monthPickerState = rememberPickerState()
71
72
val startYearIndex =
73
- if (isYearNull) yearsList.lastIndex else yearsList.indexOf("${chosenYear ?: "-"}년")
+ if (isYearNull) yearsList.lastIndex else yearsList.indexOf("${chosenYear ?: NULL_DATE}년")
74
.takeIf { it >= 0 } ?: yearsList.lastIndex
75
val startMonthIndex =
76
- if (isMonthNull) monthsList.lastIndex else monthsList.indexOf("${chosenMonth ?: "-"}월")
+ if (isMonthNull) monthsList.lastIndex else monthsList.indexOf("${chosenMonth ?: NULL_DATE}월")
77
.takeIf { it >= 0 } ?: monthsList.lastIndex
78
79
Row(
0 commit comments