fix the condition checking if Editor was opened via a Crop intent
This commit is contained in:
parent
5758b2eee1
commit
d7740ae7b8
|
@ -49,7 +49,7 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
isCropIntent = intent.extras?.get(CROP) == true
|
isCropIntent = intent.extras?.get(CROP) == "true"
|
||||||
|
|
||||||
crop_image_view.apply {
|
crop_image_view.apply {
|
||||||
setOnCropImageCompleteListener(this@EditActivity)
|
setOnCropImageCompleteListener(this@EditActivity)
|
||||||
|
|
Loading…
Reference in New Issue