From 888aef12e3995f256d08413e10c222c5f43a9a4e Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 12 Sep 2019 23:04:44 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/qrcode/QrCodeActivity.kt | 3 ++- 1 file changed, 2 insertions(+), 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 dac723182..b84cc3f6f 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 @@ -14,6 +14,7 @@ import io.legado.app.help.permission.PermissionsCompat import io.legado.app.utils.FileUtils import kotlinx.android.synthetic.main.activity_qrcode_capture.* import kotlinx.android.synthetic.main.view_title_bar.* +import org.jetbrains.anko.toast class QrCodeActivity : BaseActivity(R.layout.activity_qrcode_capture), QRCodeView.Delegate { @@ -88,7 +89,7 @@ class QrCodeActivity : BaseActivity(R.layout.activity_qrcode_capture), QRCodeVie } override fun onScanQRCodeOpenCameraError() { - + toast("打开相机失败") } override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {