From 68bb3f21dc0f21f3240dcb50f0066816adb8455c Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 9 Apr 2025 12:59:26 +0800 Subject: [PATCH] Fix conflict between "always show media" vs blur filter blur filter > show_all --- src/components/status.jsx | 5 +- src/locales/en.po | 100 +++++++++++++++++++------------------- 2 files changed, 53 insertions(+), 52 deletions(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index e2bc86ae..68aef92b 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -554,7 +554,7 @@ function Status({ previewMode || readingExpandSpoilers || !!snapStates.spoilers[id]; const showSpoilerMedia = previewMode || - readingExpandMedia === 'show_all' || + (readingExpandMedia === 'show_all' && filterInfo?.action !== 'blur') || !!snapStates.spoilersMedia[id]; if (reblog) { @@ -2211,7 +2211,8 @@ function Status({ {!previewMode && (sensitive || filterInfo?.action === 'blur') && !!mediaAttachments.length && - readingExpandMedia !== 'show_all' && ( + (readingExpandMedia === 'show_all' || + filterInfo?.action === 'blur') && (