移除 coil
This commit is contained in:
@@ -41,7 +41,6 @@ import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import androidx.compose.ui.unit.dp
|
||||
import coil.compose.AsyncImage
|
||||
|
||||
|
||||
@Preview
|
||||
@@ -148,11 +147,15 @@ fun AddImageGrid() {
|
||||
horizontalArrangement = Arrangement.spacedBy(8.dp)
|
||||
) {
|
||||
imageUriList.forEach {
|
||||
AsyncImage(
|
||||
it,
|
||||
Image(
|
||||
painter = painterResource(id = R.drawable.rider_pro_new_post_add_pic),
|
||||
contentDescription = "Add Image",
|
||||
modifier = Modifier.size(110.dp),
|
||||
contentScale = ContentScale.Crop
|
||||
modifier = Modifier
|
||||
.size(110.dp)
|
||||
.background(Color(0xFFFFFFFF))
|
||||
.drawBehind {
|
||||
drawRoundRect(color = Color(0xFF999999), style = stroke)
|
||||
}
|
||||
)
|
||||
}
|
||||
Box(
|
||||
|
||||
Reference in New Issue
Block a user