From f29e46ad5544949f87d9fc90c6010bf72cc55004 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Mon, 17 Jan 2022 18:45:11 +0100 Subject: [PATCH] fix media hidden default in ViewThreadFragment (#2295) --- .../keylesspalace/tusky/fragment/ViewThreadFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/ViewThreadFragment.java b/app/src/main/java/com/keylesspalace/tusky/fragment/ViewThreadFragment.java index 7cfd81073..bfbb18ed5 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/ViewThreadFragment.java +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/ViewThreadFragment.java @@ -105,10 +105,10 @@ public final class ViewThreadFragment extends SFragment implements private final PairedList statuses = new PairedList<>(new Function() { @Override - public StatusViewData.Concrete apply(Status input) { + public StatusViewData.Concrete apply(Status status) { return ViewDataUtils.statusToViewData( - input, - alwaysShowSensitiveMedia, + status, + alwaysShowSensitiveMedia || !status.getActionableStatus().getSensitive(), alwaysOpenSpoiler, true );