fix media hidden default in ViewThreadFragment (#2295)
This commit is contained in:
parent
a026a3261b
commit
f29e46ad55
1 changed files with 3 additions and 3 deletions
|
@ -105,10 +105,10 @@ public final class ViewThreadFragment extends SFragment implements
|
||||||
private final PairedList<Status, StatusViewData.Concrete> statuses =
|
private final PairedList<Status, StatusViewData.Concrete> statuses =
|
||||||
new PairedList<>(new Function<Status, StatusViewData.Concrete>() {
|
new PairedList<>(new Function<Status, StatusViewData.Concrete>() {
|
||||||
@Override
|
@Override
|
||||||
public StatusViewData.Concrete apply(Status input) {
|
public StatusViewData.Concrete apply(Status status) {
|
||||||
return ViewDataUtils.statusToViewData(
|
return ViewDataUtils.statusToViewData(
|
||||||
input,
|
status,
|
||||||
alwaysShowSensitiveMedia,
|
alwaysShowSensitiveMedia || !status.getActionableStatus().getSensitive(),
|
||||||
alwaysOpenSpoiler,
|
alwaysOpenSpoiler,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue