This commit is contained in:
Adam Velebil 2023-11-29 16:11:22 +01:00
commit e00244cf66
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -107,7 +107,6 @@ internal class QRScannerView(
}
private fun requestPermissions(activity: Activity) {
coroutineScope.launch {
methodChannel.invokeMethod(
"beforePermissionsRequest", null
)
@ -118,7 +117,6 @@ internal class QRScannerView(
PERMISSION_REQUEST_CODE
)
}
}
private val qrScannerView = View.inflate(context, R.layout.qr_scanner_view, null)
private val previewView = qrScannerView.findViewById<PreviewView>(R.id.preview_view).also {