Skip to content

Commit

Permalink
implement review - bottom sheet half open and title is unit title
Browse files Browse the repository at this point in the history
  • Loading branch information
eylulnc committed Jan 3, 2025
1 parent b08f671 commit 3d3f29c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ internal fun OverviewTab(
exerciseActions: BoundExerciseActions,
state: LazyListState
) {
val bottomSheetState = rememberModalBottomSheetState(skipPartiallyExpanded = true)
val bottomSheetState = rememberModalBottomSheetState(skipPartiallyExpanded = false)
var selectedLectureUnit: LectureUnit? by remember { mutableStateOf(null) }
val coroutineScope = rememberCoroutineScope()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ internal fun LectureUnitHeader(
)

Text(
text = stringResource(id = text),
text = lectureUnit.name ?: stringResource(id = text),
style = MaterialTheme.typography.bodyLarge,
modifier = Modifier.weight(1f)
)
Expand Down

0 comments on commit 3d3f29c

Please sign in to comment.