mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
remove TODO annotations
This commit is contained in:
parent
7b76992998
commit
5572cdcf67
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