Skip to content

Commit 7968c9b

Browse files
authored
Merge pull request #103 from Stack-Knowledge/feature/102_modify_score_mission_list_ratio
🔀 :: (#102) Modify Score Mission List Ratio
2 parents 2d4f73c + 3a5d2fb commit 7968c9b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

feature/score-mission/src/main/java/com/stackknowledge/score_mission/component/SolvedMissionList.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import androidx.compose.foundation.lazy.grid.GridCells
1414
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
1515
import androidx.compose.foundation.lazy.grid.itemsIndexed
1616
import androidx.compose.runtime.Composable
17+
import androidx.compose.ui.Alignment
1718
import androidx.compose.ui.Modifier
1819
import androidx.compose.ui.tooling.preview.Preview
1920
import androidx.compose.ui.unit.dp
@@ -47,7 +48,9 @@ fun SolvedMissionList(
4748
),
4849
) {
4950
itemsIndexed(scoreMission.response) {_, item ->
50-
Box {
51+
Box(
52+
contentAlignment = Alignment.Center
53+
) {
5154
SolvedMissionItem(
5255
name = item.user.name,
5356
title = item.title,

0 commit comments

Comments
 (0)