mirror of
https://github.com/tuskyapp/Tusky
synced 2025-01-31 12:25:01 +01:00
fix media hidden default in ViewThreadFragment (#2295)
This commit is contained in:
parent
a026a3261b
commit
f29e46ad55
@ -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
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user