|
@@ -16,11 +16,10 @@ import androidx.compose.ui.unit.dp
|
|
|
import androidx.compose.ui.unit.sp
|
|
|
import com.ys.bdtp.adm.R
|
|
|
|
|
|
-
|
|
|
@Composable
|
|
|
fun TaskHeadLeft(
|
|
|
title: String,
|
|
|
- click: () -> Unit
|
|
|
+ click: () -> Unit,
|
|
|
) {
|
|
|
Row(
|
|
|
verticalAlignment = Alignment.CenterVertically,
|
|
@@ -53,25 +52,9 @@ fun TaskHeadLeft(
|
|
|
.background(Color(0xFFD8D8D8))
|
|
|
)
|
|
|
|
|
|
- Row(
|
|
|
- modifier = Modifier
|
|
|
- .fillMaxHeight()
|
|
|
- .clickable {
|
|
|
- //click()
|
|
|
- }
|
|
|
- .padding(16.dp),
|
|
|
- verticalAlignment = Alignment.CenterVertically
|
|
|
- ) {
|
|
|
- Text(text = title, fontSize = 16.sp, fontWeight = FontWeight.Bold, color = Color(0xFF1F2329))
|
|
|
-
|
|
|
- Spacer(modifier = Modifier.width(16.dp))
|
|
|
+ Spacer(modifier = Modifier.width(16.dp))
|
|
|
|
|
|
- Image(
|
|
|
- painter = painterResource(R.drawable.arrow_down),
|
|
|
- contentDescription = "",
|
|
|
- modifier = Modifier.size(16.dp)
|
|
|
- )
|
|
|
- }
|
|
|
+ Text(text = title, fontSize = 16.sp, fontWeight = FontWeight.Bold, color = Color(0xFF1F2329))
|
|
|
|
|
|
}
|
|
|
}
|