mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
automatically switch to crop_rotate primary action at Crop intent
This commit is contained in:
parent
3c48af1c91
commit
91bb5b70de
1 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,12 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
|
|||
initialBitmap = bitmap
|
||||
}
|
||||
|
||||
if (isCropIntent) {
|
||||
loadCropImageView()
|
||||
bottom_primary_filter.beGone()
|
||||
bottom_primary_crop_rotate.performClick()
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
}).into(default_image_view)
|
||||
|
|
Loading…
Reference in a new issue