[FIX] iOS uploads always cropping as squares (#2516)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
857707fc61
commit
f7e2388017
|
@ -51,7 +51,8 @@ import { sanitizeLikeString } from '../../lib/database/utils';
|
|||
const imagePickerConfig = {
|
||||
cropping: true,
|
||||
compressImageQuality: 0.8,
|
||||
avoidEmptySpaceAroundImage: false
|
||||
avoidEmptySpaceAroundImage: false,
|
||||
freeStyleCropEnabled: true
|
||||
};
|
||||
|
||||
const libraryPickerConfig = {
|
||||
|
|
|
@ -288,6 +288,7 @@ class ProfileView extends React.Component {
|
|||
const options = {
|
||||
cropping: true,
|
||||
compressImageQuality: 0.8,
|
||||
freeStyleCropEnabled: true,
|
||||
cropperAvoidEmptySpaceAroundImage: false,
|
||||
cropperChooseText: I18n.t('Choose'),
|
||||
cropperCancelText: I18n.t('Cancel'),
|
||||
|
|
Loading…
Reference in New Issue