Fix small bug.

This commit is contained in:
jacques 2022-03-14 10:02:52 +01:00
parent 74db60cfe7
commit a3500635f3

View file

@ -324,7 +324,7 @@ public class DrugListActivity extends AppCompatActivity {
});
// Launch scan
public void onButtonClick() {
public void onButtonClick(View v) {
Log.d(TAG, "add medication");
ScanOptions options = new ScanOptions();
options.setDesiredBarcodeFormats(ScanOptions.DATA_MATRIX, ScanOptions.CODE_39,