Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
bannzai committed Jan 15, 2025
1 parent a726fdf commit 3e70ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/provider/change_pill_number.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ChangePillNumber {
// state.selectedPillMarkNumberIntoPillSheet < index
lastTakenDate = null;
}
if (lastTakenDate != null && lastTakenDate.isBefore(pillSheet.beginingDate)) {
if (lastTakenDate != null && lastTakenDate.isBefore(beginDate)) {
// if (pillSheetPageIndex == index)
// lastTakenDate = beginDate.addDays(pillNumberInPillSheet - 2);
// ここで1つ目のピル番号の時はlastTakenDateがbeginDateより前になるのでnullにする
Expand Down

0 comments on commit 3e70ae8

Please sign in to comment.