File tree 1 file changed +3
-1
lines changed
app/src/main/java/com/OxGames/Pluvia/ui/component/dialog
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ import androidx.compose.foundation.layout.Row
6
6
import androidx.compose.foundation.layout.fillMaxWidth
7
7
import androidx.compose.foundation.layout.height
8
8
import androidx.compose.foundation.layout.padding
9
+ import androidx.compose.foundation.rememberScrollState
9
10
import androidx.compose.foundation.selection.selectable
10
11
import androidx.compose.foundation.selection.selectableGroup
12
+ import androidx.compose.foundation.verticalScroll
11
13
import androidx.compose.material.icons.Icons
12
14
import androidx.compose.material.icons.filled.BrightnessMedium
13
15
import androidx.compose.material3.AlertDialog
@@ -56,7 +58,7 @@ fun SingleChoiceDialog(
56
58
},
57
59
title = { Text (text = title) },
58
60
text = {
59
- Column (modifier = Modifier .selectableGroup()) {
61
+ Column (modifier = Modifier .selectableGroup().verticalScroll(rememberScrollState()) ) {
60
62
items.forEachIndexed { index, entry ->
61
63
Row (
62
64
Modifier
You can’t perform that action at this time.
0 commit comments