mirror of
https://github.com/pachli/pachli-android.git
synced 2025-02-07 23:48:49 +01:00
fix StatusDetailedVieHolder ignoring useAbsoluteTime setting (#1215)
This commit is contained in:
parent
ed947ab620
commit
f235a38cca
@ -42,8 +42,8 @@ class StatusDetailedViewHolder extends StatusBaseViewHolder {
|
|||||||
private TextView cardUrl;
|
private TextView cardUrl;
|
||||||
private View infoDivider;
|
private View infoDivider;
|
||||||
|
|
||||||
StatusDetailedViewHolder(View view) {
|
StatusDetailedViewHolder(View view, boolean useAbsoluteTime) {
|
||||||
super(view, false);
|
super(view, useAbsoluteTime);
|
||||||
reblogs = view.findViewById(R.id.status_reblogs);
|
reblogs = view.findViewById(R.id.status_reblogs);
|
||||||
favourites = view.findViewById(R.id.status_favourites);
|
favourites = view.findViewById(R.id.status_favourites);
|
||||||
cardView = view.findViewById(R.id.card_view);
|
cardView = view.findViewById(R.id.card_view);
|
||||||
|
@ -60,7 +60,7 @@ public class ThreadAdapter extends RecyclerView.Adapter {
|
|||||||
case VIEW_TYPE_STATUS_DETAILED: {
|
case VIEW_TYPE_STATUS_DETAILED: {
|
||||||
View view = LayoutInflater.from(parent.getContext())
|
View view = LayoutInflater.from(parent.getContext())
|
||||||
.inflate(R.layout.item_status_detailed, parent, false);
|
.inflate(R.layout.item_status_detailed, parent, false);
|
||||||
return new StatusDetailedViewHolder(view);
|
return new StatusDetailedViewHolder(view, useAbsoluteTime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user