fix media hidden default in ViewThreadFragment (#2295)

This commit is contained in:
Konrad Pozniak 2022-01-17 18:45:11 +01:00 committed by GitHub
parent a026a3261b
commit f29e46ad55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -105,10 +105,10 @@ public final class ViewThreadFragment extends SFragment implements
private final PairedList<Status, StatusViewData.Concrete> statuses =
new PairedList<>(new Function<Status, StatusViewData.Concrete>() {
@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
);