File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
feature/shop/src/main/java/com/stackknowledge/shop/component Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,14 @@ import androidx.compose.foundation.layout.fillMaxWidth
11
11
import androidx.compose.foundation.layout.height
12
12
import androidx.compose.foundation.layout.padding
13
13
import androidx.compose.foundation.layout.width
14
+ import androidx.compose.foundation.shape.RoundedCornerShape
14
15
import androidx.compose.material3.Text
15
16
import androidx.compose.runtime.Composable
16
17
import androidx.compose.runtime.mutableStateOf
17
18
import androidx.compose.runtime.remember
18
19
import androidx.compose.ui.Alignment
19
20
import androidx.compose.ui.Modifier
21
+ import androidx.compose.ui.draw.clip
20
22
import androidx.compose.ui.layout.ContentScale
21
23
import androidx.compose.ui.res.painterResource
22
24
import androidx.compose.ui.res.stringResource
@@ -49,6 +51,7 @@ fun GoodsItem(
49
51
) {
50
52
Box (
51
53
modifier = modifier
54
+ .clip(shape = RoundedCornerShape (10 .dp))
52
55
.clickable {
53
56
if (checked.value) {
54
57
onItemCheckButtonClick(itemData)
You can’t perform that action at this time.
0 commit comments