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 1ed4026c..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 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