diff --git a/app/build.gradle b/app/build.gradle index 37475d8e..253f8c1f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,8 +16,8 @@ android { targetSdkVersion 33 compileSdk 34 - versionCode 25 - versionName "0.12.6" + versionCode 26 + versionName "0.12.7" resourceConfigurations += ['en', 'de', 'es'] diff --git a/app/src/main/java/projects/medicationtracker/Dialogs/DoseInfoDialog.java b/app/src/main/java/projects/medicationtracker/Dialogs/DoseInfoDialog.java index 3126b98d..004f101f 100644 --- a/app/src/main/java/projects/medicationtracker/Dialogs/DoseInfoDialog.java +++ b/app/src/main/java/projects/medicationtracker/Dialogs/DoseInfoDialog.java @@ -83,7 +83,7 @@ public Dialog onCreateDialog(Bundle savedInstances) { infoDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(false); - thisDose = nativeDb.getDoseById(doseId); + thisDose = doseId != -1 ? nativeDb.getDoseById(doseId) : new Dose(); timeTaken = infoDialog.findViewById(R.id.dose_time_taken); dateTaken = infoDialog.findViewById(R.id.dose_date_taken); diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 0447d565..6bed2176 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -102,7 +102,7 @@ Dosierung Häufigkeit Eingenommen jeden - Einheiten + Dosierungseinheit Eingenommen Häufigkeit Mehrmals pro Tag diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index e53404d6..57cdb3d1 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -100,7 +100,7 @@ Dosis Frecuencia Tomado cada - Unidades + Unidad de Dosis Tomado Frecuencia Varias veces por día @@ -108,10 +108,10 @@ Diario Semanal Mensual - + ¿Quién toma este medicamento? Alguien más - + Alias para notificaciones ¿Cada cuánto se toma el medicamento? Fecha de inicio diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3ccb7df1..ee39fc22 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -100,7 +100,7 @@ Dosage Frequency Taken Every - Units + Dosage Unit Taken Frequency Multiple Times per Day