Enable free style cropping for camera and gallery images

This feature was disabled in 3ac2296464.

Resolves #2356

Signed-off-by: networkException <git@nwex.de>
This commit is contained in:
networkException 2023-04-11 18:19:18 +02:00
parent 7f42eb3fb6
commit 7fff7a453d
No known key found for this signature in database
GPG key ID: E3877443AE684391
2 changed files with 2 additions and 2 deletions

1
changelog.d/8325.feature Normal file
View file

@ -0,0 +1 @@
Enable free style cropping for camera and gallery images

View file

@ -39,8 +39,7 @@ fun createUCropWithDefaultSettings(
/* tabAspectRatio = */ UCropActivity.SCALE
)
setToolbarTitle(toolbarTitle)
// Disable freestyle crop, usability was not easy
// setFreeStyleCropEnabled(true)
setFreeStyleCropEnabled(true)
// Color used for toolbar icon and text
setToolbarColor(colorProvider.getColorFromAttribute(android.R.attr.colorBackground))
setToolbarWidgetColor(colorProvider.getColorFromAttribute(R.attr.vctr_content_primary))