Skip to content

Commit

Permalink
Notification bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGuidarini committed Aug 10, 2022
1 parent e864039 commit 1fe3847
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
minSdkVersion 26
targetSdkVersion 30
versionCode 1
versionName "0.7.0"
versionName "0.7.1"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ private void prepareNotifications()
NotificationHelper.scheduleNotification(
getApplicationContext(),
medication,
LocalDateTime.of(LocalDate.now(), medication.getTimes()[i].toLocalTime()),
LocalDateTime.of(medication.getStartDate().toLocalDate(), medication.getTimes()[i].toLocalTime()),
medicationTimeIds[i] * -1
);
}
Expand Down

0 comments on commit 1fe3847

Please sign in to comment.