Skip to content

Commit

Permalink
Update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
anrouxel committed Mar 1, 2024
1 parent 9f2ceb2 commit 187fa2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package fr.medicapp.medicapp.model.prescription.relationship

import android.util.Log
import androidx.compose.runtime.mutableStateListOf
import androidx.room.Embedded
import androidx.room.Relation
Expand Down Expand Up @@ -120,7 +121,7 @@ data class Prescription(
val dateTime =
LocalDateTime.of(date.year, date.month, date.dayOfMonth, hour, minute)

if (dateTime.isAfter(LocalDateTime.now())) {
if (dateTime.isAfter(LocalDateTime.now()) && alarms.find { it.id == alarm.id } == null) {
alarms.add(
AlarmItem(
alarm.id,
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.2.2" apply false
id("com.android.application") version "8.3.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.10" apply false
id("io.gitlab.arturbosch.detekt") version("1.23.5")
id("com.google.devtools.ksp") version("1.8.10-1.0.9") apply false
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Oct 10 22:58:13 CEST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 187fa2b

Please sign in to comment.