mirror of
https://codeberg.org/tom79/Fedilab
synced 2024-12-11 10:46:01 +01:00
fix visibility when displaying counters
This commit is contained in:
parent
a658d17e2c
commit
8645f6d59b
@ -942,6 +942,7 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||
holder.binding.reblogsCount.setText(String.valueOf(statusToDeal.reblogs_count));
|
||||
holder.binding.favoritesCount.setText(String.valueOf(statusToDeal.favourites_count));
|
||||
holder.binding.time.setText(Helper.longDateToString(statusToDeal.created_at));
|
||||
holder.binding.visibility.setImageResource(ressource);
|
||||
holder.binding.time.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
holder.binding.statusInfo.setVisibility(View.GONE);
|
||||
@ -954,7 +955,6 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||
}
|
||||
|
||||
//---- SPOILER TEXT -----
|
||||
|
||||
if (statusToDeal.spoiler_text != null && !statusToDeal.spoiler_text.trim().isEmpty()) {
|
||||
if (expand_cw || expand) {
|
||||
holder.binding.spoilerExpand.setVisibility(View.VISIBLE);
|
||||
|
Loading…
Reference in New Issue
Block a user