Merge remote-tracking branch 'parent/main' into upstream-20230103

This commit is contained in:
KMY 2024-01-03 19:15:01 +09:00
commit 7356f776f2
60 changed files with 1349 additions and 323 deletions

View file

@ -179,7 +179,7 @@ class Footer extends ImmutablePureComponent {
if (status.get('in_reply_to_id', null) === null) {
replyIcon = 'reply';
replyIconComponent = RepeatIcon;
replyIconComponent = ReplyIcon;
replyTitle = intl.formatMessage(messages.reply);
} else {
replyIcon = 'reply-all';

View file

@ -47,7 +47,7 @@ class StatusCheckBox extends PureComponent {
</div>
<StatusContent status={status} />
<MediaAttachments status={status} />
<MediaAttachments status={status} visible={false} />
</div>
);

View file

@ -222,7 +222,7 @@ class FocalPointModal extends ImmutablePureComponent {
const worker = createWorker({
workerPath: tesseractWorkerPath,
corePath: tesseractCorePath,
langPath: `${assetHost}/ocr/lang-data/`,
langPath: `${assetHost}/ocr/lang-data`,
logger: ({ status, progress }) => {
if (status === 'recognizing text') {
this.setState({ ocrStatus: 'detecting', progress });