Skip to content

Commit 40b9d87

Browse files
committed
FIX: ReportCategoryBottomSheet에서 구분선 표시 관련하여 잘못된 enum 참조 수정
1 parent 59d500d commit 40b9d87

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

presentation/src/main/java/com/threegap/bitnagil/presentation/reporthistory/component/template/ReportCategoryBottomSheet.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import com.threegap.bitnagil.designsystem.BitnagilTheme
2323
import com.threegap.bitnagil.designsystem.R
2424
import com.threegap.bitnagil.designsystem.component.atom.BitnagilIcon
2525
import com.threegap.bitnagil.designsystem.modifier.clickableWithoutRipple
26-
import com.threegap.bitnagil.domain.recommendroutine.model.RecommendLevel
2726
import com.threegap.bitnagil.presentation.reporthistory.model.ReportCategory
2827
import kotlinx.coroutines.launch
2928

@@ -64,7 +63,7 @@ fun ReportCategoryBottomSheet(
6463
},
6564
)
6665

67-
if (index < RecommendLevel.entries.size) {
66+
if (index < ReportCategory.entries.lastIndex) {
6867
HorizontalDivider(
6968
color = BitnagilTheme.colors.coolGray97,
7069
)

0 commit comments

Comments
 (0)