Skip to content

Commit

Permalink
[chore] #188 ktlint Format
Browse files Browse the repository at this point in the history
  • Loading branch information
t1nm1ksun committed Aug 26, 2024
1 parent 45fb660 commit 9faaee0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CourseDetailContract {
val loadState: LoadState = LoadState.Idle,
val isDeleteCourseBottomSheetOpen: Boolean = false,
val isRegionBottomSheetOpen: Boolean = false,
val isReportCourseBottomSheetOpen : Boolean = false,
val isReportCourseBottomSheetOpen: Boolean = false,
val isPointReadDialogOpen: Boolean = false,
val isPointLackDialogOpen: Boolean = false,
val isFreeReadDialogOpen: Boolean = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,12 @@ fun CourseDetailScreen(
}
}


val isViewable = courseDetailUiState.courseDetail.isAccess || courseDetailUiState.courseDetail.isCourseMine
val courseDetailUnopenedType = if (courseDetailUiState.courseDetail.free > 0) CourseDetailUnopenedDetailType.FREE else CourseDetailUnopenedDetailType.POINT

if (courseDetailUiState.isWebViewOpened) {
DateRoadWebView(url = REPORT_URL, onClose = onReportWebViewClose)
}else{
} else {
Box(modifier = Modifier.fillMaxSize()) {
LazyColumn(
state = scrollState,
Expand Down Expand Up @@ -379,4 +378,4 @@ fun CourseDetailScreenPreview() {
onReportWebViewClose = {}
)
}
}
}

0 comments on commit 9faaee0

Please sign in to comment.