automatically switch to crop_rotate primary action at Crop intent

This commit is contained in:
tibbi 2018-07-23 12:36:08 +02:00
parent 3c48af1c91
commit 91bb5b70de

View file

@ -179,6 +179,12 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener
initialBitmap = bitmap initialBitmap = bitmap
} }
if (isCropIntent) {
loadCropImageView()
bottom_primary_filter.beGone()
bottom_primary_crop_rotate.performClick()
}
return false return false
} }
}).into(default_image_view) }).into(default_image_view)