diff --git a/app/src/main/java/com/example/ui/screens/MaintenanceDashboardScreen.kt b/app/src/main/java/com/example/ui/screens/MaintenanceDashboardScreen.kt index 651e866..46563a6 100644 --- a/app/src/main/java/com/example/ui/screens/MaintenanceDashboardScreen.kt +++ b/app/src/main/java/com/example/ui/screens/MaintenanceDashboardScreen.kt @@ -949,6 +949,22 @@ fun OSListItemCard( color = BrandBlack ) + if (activity.tag.isNotBlank()) { + Box( + modifier = Modifier + .clip(RoundedCornerShape(4.dp)) + .background(Color(0xFFE3F2FD)) + .padding(horizontal = 6.dp, vertical = 2.dp) + ) { + Text( + text = activity.tag, + fontSize = 11.sp, + fontWeight = FontWeight.Bold, + color = Color(0xFF1976D2) + ) + } + } + // Sync Status Badge Icon( imageVector = if (activity.synced) Icons.Default.CloudDone else Icons.Default.CloudQueue, @@ -1357,12 +1373,32 @@ fun EditActivityBottomSheet( fontWeight = FontWeight.Bold, color = StatusGrey ) - Text( - text = activity.numeroOs, - fontSize = 20.sp, - fontWeight = FontWeight.Black, - color = BrandBlack - ) + Row( + verticalAlignment = Alignment.CenterVertically, + horizontalArrangement = Arrangement.spacedBy(8.dp) + ) { + Text( + text = activity.numeroOs, + fontSize = 20.sp, + fontWeight = FontWeight.Black, + color = BrandBlack + ) + if (activity.tag.isNotBlank()) { + Box( + modifier = Modifier + .clip(RoundedCornerShape(4.dp)) + .background(Color(0xFFE3F2FD)) + .padding(horizontal = 6.dp, vertical = 2.dp) + ) { + Text( + text = activity.tag, + fontSize = 12.sp, + fontWeight = FontWeight.Bold, + color = Color(0xFF1976D2) + ) + } + } + } } IconButton(onClick = onDismiss) {