diff --git a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java index ff5d49b..f8815e4 100644 --- a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java @@ -118,9 +118,7 @@ public class DrugListActivity extends AppCompatActivity { setContentView(R.layout.activity_drug_list); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { - dbHelper = new DBHelper(this); - } + dbHelper = new DBHelper(this); dbDrug = new DBDrugs(this); Toolbar toolbar = findViewById(R.id.toolbar); diff --git a/app/src/main/java/net/foucry/pilldroid/PilldroidScanContract.java b/app/src/main/java/net/foucry/pilldroid/PilldroidScanContract.java index eabb52d..4289e31 100644 --- a/app/src/main/java/net/foucry/pilldroid/PilldroidScanContract.java +++ b/app/src/main/java/net/foucry/pilldroid/PilldroidScanContract.java @@ -25,7 +25,7 @@ public class PilldroidScanContract extends ActivityResultContract