Skip to content

Commit

Permalink
Make vocab preview loading progress bar in vocab dashboard bottom she…
Browse files Browse the repository at this point in the history
…et larger
  • Loading branch information
syt0r committed Jul 25, 2024
1 parent cb08d17 commit 2746744
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ fun VocabDashboardBottomSheet(
LazyColumn(
verticalArrangement = Arrangement.spacedBy(8.dp),
modifier = Modifier.fillMaxWidth()
.weight(1f)
.padding(horizontal = 20.dp)
) {

Expand All @@ -167,7 +168,13 @@ fun VocabDashboardBottomSheet(
}

VocabPracticePreviewState.Loading -> {
item { CircularProgressIndicator(Modifier.size(24.dp)) }
item {
CircularProgressIndicator(
modifier = Modifier.heightIn(max = 200.dp)
.fillParentMaxSize()
.wrapContentSize()
)
}
}

}
Expand Down

0 comments on commit 2746744

Please sign in to comment.