mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-09 23:41:08 +01:00
remove TODO annotations
This commit is contained in:
parent
30c3a0668a
commit
d40a6c8562
1 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ public class DrugListActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
// Get Drug from database
|
||||
MedicinesDAO medicinesDAO = medicines.getMedicinesDAO(); // TODO
|
||||
MedicinesDAO medicinesDAO = medicines.getMedicinesDAO();
|
||||
final Medicine scannedMedicine = medicinesDAO.getMedicineByCIP13(cip13);
|
||||
|
||||
// add Drug to prescription database
|
||||
|
@ -338,7 +338,7 @@ public class DrugListActivity extends AppCompatActivity {
|
|||
.setPositiveButton("OK", (dialog, id) -> {
|
||||
String cip13 = editText.getText().toString();
|
||||
|
||||
MedicinesDAO medicineDAO = medicines.getMedicinesDAO(); // TODO
|
||||
MedicinesDAO medicineDAO = medicines.getMedicinesDAO();
|
||||
Medicine aMedicine = medicineDAO.getMedicineByCIP13(cip13);
|
||||
//Prescription aPrescription = medications.getDrugByCIP13(cip13);
|
||||
askToAddInDB(aMedicine);
|
||||
|
|
Loading…
Reference in a new issue