fix lunch duration calculation
This commit is contained in:
@@ -93,7 +93,7 @@ public interface WorkdayLoadingBar {
|
|||||||
|
|
||||||
|
|
||||||
private long getMinLunchDuration(int endTimeOffset) {
|
private long getMinLunchDuration(int endTimeOffset) {
|
||||||
if (endTimeOffset <= 0) {
|
if (endTimeOffset >= 0) {
|
||||||
return MIN_LUNCH_DURATION;
|
return MIN_LUNCH_DURATION;
|
||||||
}
|
}
|
||||||
long totalDuration = MAX_NUMBER_WORK_MINS + endTimeOffset;
|
long totalDuration = MAX_NUMBER_WORK_MINS + endTimeOffset;
|
||||||
|
Reference in New Issue
Block a user