diff --git a/config.gradle b/config.gradle index 4f9a96b..cf521ef 100755 --- a/config.gradle +++ b/config.gradle @@ -4,8 +4,8 @@ ext { compileSdkVersion: 28, minSdkVersion : 21, targetSdkVersion : 28, - versionCode : 13, - versionName : "1.9.1" + versionCode : 14, + versionName : "1.9.2" ] dependVersion = [ diff --git a/presentation/src/main/java/com/crazysunj/crazydaily/ui/home/HomeFragment.java b/presentation/src/main/java/com/crazysunj/crazydaily/ui/home/HomeFragment.java index 26ce343..a54ba80 100644 --- a/presentation/src/main/java/com/crazysunj/crazydaily/ui/home/HomeFragment.java +++ b/presentation/src/main/java/com/crazysunj/crazydaily/ui/home/HomeFragment.java @@ -321,7 +321,7 @@ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permis @NeedsPermission({Manifest.permission.CAMERA}) void openQRCode() { - new IntentIntegrator(mActivity) + IntentIntegrator.forSupportFragment(this) .setCaptureActivity(ScannerActivity.class).initiateScan(); }