mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
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:
parent
7f42eb3fb6
commit
7fff7a453d
2 changed files with 2 additions and 2 deletions
1
changelog.d/8325.feature
Normal file
1
changelog.d/8325.feature
Normal file
|
@ -0,0 +1 @@
|
|||
Enable free style cropping for camera and gallery images
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue