mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 04:08:32 +03:00
Persist auto-inline-translation to the large size status too
This commit is contained in:
parent
4aab2d39cc
commit
58bf8e16c2
1 changed files with 1 additions and 2 deletions
|
@ -254,7 +254,6 @@ function Status({
|
|||
if (!snapStates.settings.contentTranslation) enableTranslate = false;
|
||||
const inlineTranslate = useMemo(() => {
|
||||
return (
|
||||
!isSizeLarge &&
|
||||
!spoilerText &&
|
||||
!poll &&
|
||||
!mediaAttachments?.length &&
|
||||
|
@ -1110,7 +1109,7 @@ function Status({
|
|||
forceTranslate) && (
|
||||
<TranslationBlock
|
||||
forceTranslate={forceTranslate || inlineTranslate}
|
||||
mini={inlineTranslate}
|
||||
mini={!isSizeLarge}
|
||||
sourceLanguage={language}
|
||||
text={
|
||||
(spoilerText ? `${spoilerText}\n\n` : '') +
|
||||
|
|
Loading…
Add table
Reference in a new issue