mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-22 04:29:22 +01:00
fix error in AlarmReciver, bug not fixed yet.
This commit is contained in:
parent
5f4a04fe85
commit
ea3a4ae374
1 changed files with 1 additions and 2 deletions
|
@ -45,8 +45,7 @@ public class AlarmReceiver extends BroadcastReceiver {
|
||||||
|
|
||||||
if (BuildConfig.DEBUG) { Toast.makeText(context, "New stock calculated", Toast.LENGTH_LONG).show(); }
|
if (BuildConfig.DEBUG) { Toast.makeText(context, "New stock calculated", Toast.LENGTH_LONG).show(); }
|
||||||
createNotificationChannel(context);
|
createNotificationChannel(context);
|
||||||
PrescriptionDatabase prescriptions = null;
|
PrescriptionDatabase prescriptions = PrescriptionDatabase.getInstanceDatabase(context.getApplicationContext());
|
||||||
assert false;
|
|
||||||
PrescriptionsDAO prescriptionsDAO = prescriptions.getPrescriptionsDAO();
|
PrescriptionsDAO prescriptionsDAO = prescriptions.getPrescriptionsDAO();
|
||||||
List<Prescription> prescriptionList = prescriptionsDAO.getAllMedics();
|
List<Prescription> prescriptionList = prescriptionsDAO.getAllMedics();
|
||||||
Prescription firstPrescription = null ;
|
Prescription firstPrescription = null ;
|
||||||
|
|
Loading…
Reference in a new issue