Skip to content

Commit

Permalink
ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Canato committed Jan 27, 2021
1 parent 3feac28 commit 34c61e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cropper/src/main/java/com/canhub/cropper/CropImageActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ open class CropImageActivity :
CropImage.startPickImageActivity(this)
}
} else if (cropImageUri?.let {
CropImage.isReadExternalStoragePermissionsRequired(this, it)
} == true &&
CropImage.isReadExternalStoragePermissionsRequired(this, it)
} == true &&
CommonVersionCheck.isAtLeastM23()
) {
// request permissions and handle the result in onRequestPermissionsResult()
Expand Down Expand Up @@ -172,8 +172,8 @@ open class CropImageActivity :
// For API >= 23 we need to check specifically that we have permissions to read external
// storage.
if (cropImageUri?.let {
CropImage.isReadExternalStoragePermissionsRequired(this, it)
} == true &&
CropImage.isReadExternalStoragePermissionsRequired(this, it)
} == true &&
CommonVersionCheck.isAtLeastM23()
) {
// request permissions and handle the result in onRequestPermissionsResult()
Expand Down

0 comments on commit 34c61e1

Please sign in to comment.