Refactor audio file player

- Do not play if there is no context available (e.g. unit testing)
This commit is contained in:
Oliver Walters 2022-05-22 08:23:20 +10:00
parent e424a3cf7b
commit f13b04d029
7 changed files with 94 additions and 50 deletions

View file

@ -335,7 +335,7 @@ class APIFormField {
controller.text = hash;
data["value"] = hash;
successTone();
barcodeSuccessTone();
showSnackIcon(
L10().barcodeAssigned,