fix lunch duration calculation

This commit is contained in:
2025-08-29 12:06:33 +02:00
parent 8ed458b4f3
commit 5485517150

View File

@@ -93,7 +93,7 @@ public interface WorkdayLoadingBar {
private long getMinLunchDuration(int endTimeOffset) {
if (endTimeOffset <= 0) {
if (endTimeOffset >= 0) {
return MIN_LUNCH_DURATION;
}
long totalDuration = MAX_NUMBER_WORK_MINS + endTimeOffset;