diff --git a/buildSrc/src/main/java/com/yapp/buildsrc/Configs.kt b/buildSrc/src/main/java/com/yapp/buildsrc/Configs.kt index 2743d355..70e94318 100644 --- a/buildSrc/src/main/java/com/yapp/buildsrc/Configs.kt +++ b/buildSrc/src/main/java/com/yapp/buildsrc/Configs.kt @@ -18,8 +18,8 @@ object Configs { const val APPLICATION_ID = "com.yapp.attendance" const val MIN_SDK = 26 const val TARGET_SDK = 33 - const val VERSION_CODE = 100401 - const val VERSION_NAME = "1.4.1" + const val VERSION_CODE = 100402 + const val VERSION_NAME = "1.4.2" const val KOTLIN_COMPILER_EXTENSION = "1.4.3" } diff --git a/domain/src/main/java/com/yapp/domain/usecases/MarkAttendanceUseCase.kt b/domain/src/main/java/com/yapp/domain/usecases/MarkAttendanceUseCase.kt index 9f351a35..457bcf0d 100644 --- a/domain/src/main/java/com/yapp/domain/usecases/MarkAttendanceUseCase.kt +++ b/domain/src/main/java/com/yapp/domain/usecases/MarkAttendanceUseCase.kt @@ -33,10 +33,9 @@ class MarkAttendanceUseCase @Inject constructor( private fun checkAttendanceState(elapsedTime: Long): Attendance.Status { return when (elapsedTime) { - in -5..5 -> Attendance.Status.NORMAL - in 6..30 -> Attendance.Status.LATE + in -10..10 -> Attendance.Status.NORMAL + in 11..120 -> Attendance.Status.LATE else -> Attendance.Status.ABSENT } } - }