downgrade zxing:core for minSdkVersion 21

This commit is contained in:
andrekir committed 2022-01-10 00:33:26 -03:00
1 parent 58136c9cf4
commit e8e389930e
3 files changed
+4 -6

No files matched your search

@@ -211,6 +211,7 @@ class ChannelFragment : ScreenFragment("Channel"), Logging {
binding.scanButton.setOnClickListener {
if ((requireActivity() as MainActivity).hasCameraPermission()) {
debug("Starting QR code scanner")
val zxingScan = IntentIntegrator.forSupportFragment(this)
zxingScan.setCameraId(0)
zxingScan.setPrompt("")