mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
fix the condition checking if Editor was opened via a Crop intent
This commit is contained in:
parent
5758b2eee1
commit
d7740ae7b8
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
|
|||
return
|
||||
}
|
||||
|
||||
isCropIntent = intent.extras?.get(CROP) == true
|
||||
isCropIntent = intent.extras?.get(CROP) == "true"
|
||||
|
||||
crop_image_view.apply {
|
||||
setOnCropImageCompleteListener(this@EditActivity)
|
||||
|
|
Loading…
Reference in a new issue