fix the condition checking if Editor was opened via a Crop intent

This commit is contained in:
tibbi 2017-05-29 21:39:56 +02:00
parent 5758b2eee1
commit d7740ae7b8
1 changed files with 1 additions and 1 deletions

View File

@ -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)