From 05a028bfaaf6812ea86bf45ff9e8cacdc5eb1dd0 Mon Sep 17 00:00:00 2001 From: GKF Date: Tue, 11 Jun 2019 16:59:19 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/qrcode/QrCodeActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/qrcode/QrCodeActivity.kt b/app/src/main/java/io/legado/app/ui/qrcode/QrCodeActivity.kt index 9b7ce0b13..ad9019228 100644 --- a/app/src/main/java/io/legado/app/ui/qrcode/QrCodeActivity.kt +++ b/app/src/main/java/io/legado/app/ui/qrcode/QrCodeActivity.kt @@ -68,7 +68,7 @@ class QrCodeActivity : BaseActivity(), QRCodeView.Delegate { .onGranted { zxingview.startCamera() // 打开后置摄像头开始预览,但是并未开始识别 zxingview.startSpotAndShowRect() // 显示扫描框,并开始识别 - }.build() + }.request() } override fun onStop() {