diff --git a/core/src/main/java/com/alamkanak/weekview/WeekView.kt b/core/src/main/java/com/alamkanak/weekview/WeekView.kt index 2b4c2f59f..e62fadfc6 100644 --- a/core/src/main/java/com/alamkanak/weekview/WeekView.kt +++ b/core/src/main/java/com/alamkanak/weekview/WeekView.kt @@ -1178,6 +1178,7 @@ class WeekView @JvmOverloads constructor( private fun goToDateWithCompletion(date: Calendar, onComplete: () -> Unit) { val adjustedDate = viewState.getDateWithinDateRange(date) if (adjustedDate.toEpochDays() == viewState.firstVisibleDate.toEpochDays()) { + onComplete() return }