From 11651ba3be194c2196a8a25fe42e801e75c1b1fb Mon Sep 17 00:00:00 2001 From: liujie Date: Wed, 29 Aug 2018 15:41:27 +0800 Subject: [PATCH] Handy Commit --- .../main/java/com/handy/qrcode/module/ScanSingleActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/handy/qrcode/module/ScanSingleActivity.java b/library/src/main/java/com/handy/qrcode/module/ScanSingleActivity.java index 53eebdf..8590a53 100755 --- a/library/src/main/java/com/handy/qrcode/module/ScanSingleActivity.java +++ b/library/src/main/java/com/handy/qrcode/module/ScanSingleActivity.java @@ -112,7 +112,7 @@ public void onClick() { public void onClick() { ScanConfig.KEY_USE_LIGHT = !ScanConfig.KEY_USE_LIGHT; cameraManager.setTorch(ScanConfig.KEY_USE_LIGHT); - this.setImageSrc(ScanConfig.KEY_USE_LIGHT ? R.drawable.handy_qrcode_icon_light_c : R.drawable.handy_qrcode_icon_light_n); + setImageSrc(ScanConfig.KEY_USE_LIGHT ? R.drawable.handy_qrcode_icon_light_c : R.drawable.handy_qrcode_icon_light_n); titleBar.removeRightAction(); titleBar.addRightAction(this);