Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…droid into develop

* 'release' of https://github.com/YAPP-admin/attendance-android:
  chore: Version Up (1.4.1 -> 1.4.2) 🔥🔥🔥
  [Feature] 출석 인증 기준 시간 변경 (#341)
  • Loading branch information
jihee-dev committed Jun 6, 2024
2 parents c409347 + ad81911 commit ace2d2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/com/yapp/buildsrc/Configs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

}

0 comments on commit ace2d2a

Please sign in to comment.