File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
course/src/main/java/com/raccoongang/course/presentation/outline Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -423,15 +423,15 @@ private fun ResumeCourseTablet(
423423 modifier = Modifier .fillMaxWidth(),
424424 horizontalArrangement = Arrangement .SpaceBetween
425425 ) {
426- Column {
426+ Column ( Modifier .weight( 1f )) {
427427 Text (
428428 text = stringResource(id = com.raccoongang.course.R .string.course_continue_with),
429429 style = MaterialTheme .appTypography.labelMedium,
430430 color = MaterialTheme .appColors.textPrimaryVariant
431431 )
432432 Spacer (Modifier .height(6 .dp))
433433 Row (
434- verticalAlignment = Alignment .CenterVertically ,
434+ verticalAlignment = Alignment .Top ,
435435 horizontalArrangement = Arrangement .spacedBy(4 .dp)
436436 ) {
437437 Icon (
Original file line number Diff line number Diff line change @@ -115,10 +115,10 @@ class CourseOutlineViewModel(
115115
116116 private fun getCourseDataInternal () {
117117 viewModelScope.launch {
118- var courseStructure = interactor.getCourseStructureFromCache()
119- val blocks = courseStructure.blockData
120-
121118 try {
119+ var courseStructure = interactor.getCourseStructureFromCache()
120+ val blocks = courseStructure.blockData
121+
122122 val courseStatus = if (networkConnection.isOnline()) {
123123 interactor.getCourseStatus(courseId)
124124 } else {
You can’t perform that action at this time.
0 commit comments