From dd459179aacfc9e1f6677b730d17e00d896c17ec Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 17 Jul 2024 09:49:26 +0200 Subject: [PATCH] Add support for new Newland NQuire series (#98) --- .../main/java/eu/pretix/pretixscan/droid/ui/MainActivity.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pretixscan/app/src/main/java/eu/pretix/pretixscan/droid/ui/MainActivity.kt b/pretixscan/app/src/main/java/eu/pretix/pretixscan/droid/ui/MainActivity.kt index 3fc492c..9794d78 100644 --- a/pretixscan/app/src/main/java/eu/pretix/pretixscan/droid/ui/MainActivity.kt +++ b/pretixscan/app/src/main/java/eu/pretix/pretixscan/droid/ui/MainActivity.kt @@ -822,6 +822,11 @@ class MainActivity : AppCompatActivity(), ReloadableActivity, ZXingScannerView.R } else { null } + "Newland" -> if (Build.MODEL.startsWith("NLS-NQ")) { + R.drawable.avd_kiosk_widescreen_barcode_bottom + } else { + null + } "SEUIC" -> if (Build.MODEL.startsWith("AUTOID Pad Air")) { R.drawable.avd_kiosk_widescreen_barcode_bottom } else {