Attendance.kt
This commit is contained in:
@@ -47,11 +47,6 @@ fun EnhancedAttendanceCard(attendance: AttendanceData) {
|
||||
color = MaterialTheme.colorScheme.onPrimaryContainer,
|
||||
modifier = Modifier.weight(1f)
|
||||
)
|
||||
// Icon(
|
||||
// imageVector = if (attendance.isPresent) Icons.Default.Check else Icons.Default.Close,
|
||||
// contentDescription = if (attendance.isPresent) "Present" else "Absent",
|
||||
// tint = if (attendance.isPresent) Color(0xFF4CAF50) else Color(0xFFF44336)
|
||||
// )
|
||||
IconButton(
|
||||
onClick = { isExpanded = !isExpanded }
|
||||
) {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package `in`.sminnovations.attendanceapp.screens.history.data
|
||||
|
||||
import com.google.firebase.Timestamp
|
||||
|
||||
data class AttendanceData(
|
||||
val date: String,
|
||||
val checkInTime: String?,
|
||||
|
||||
Reference in New Issue
Block a user