mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-28 04:51:35 +01:00
[Glitch] Change max length of media descriptions from 420 to 1500 characters
Port b6381bdc7d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
parent
eaf49439d1
commit
344e52ffbe
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ class FocalPointModal extends ImmutablePureComponent {
|
||||||
|
|
||||||
<div className='setting-text__toolbar'>
|
<div className='setting-text__toolbar'>
|
||||||
<button disabled={detecting || media.get('type') !== 'image'} className='link-button' onClick={this.handleTextDetection}><FormattedMessage id='upload_modal.detect_text' defaultMessage='Detect text from picture' /></button>
|
<button disabled={detecting || media.get('type') !== 'image'} className='link-button' onClick={this.handleTextDetection}><FormattedMessage id='upload_modal.detect_text' defaultMessage='Detect text from picture' /></button>
|
||||||
<CharacterCounter max={420} text={detecting ? '' : description} />
|
<CharacterCounter max={1500} text={detecting ? '' : description} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button disabled={!dirty || detecting || length(description) > 420} text={intl.formatMessage(messages.apply)} onClick={this.handleSubmit} />
|
<Button disabled={!dirty || detecting || length(description) > 420} text={intl.formatMessage(messages.apply)} onClick={this.handleSubmit} />
|
||||||
|
|
Loading…
Reference in a new issue