mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
Improve scroll bar
This commit is contained in:
parent
8b8e163151
commit
6b876158d5
2 changed files with 4 additions and 2 deletions
|
@ -1316,13 +1316,13 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
|||
} else {
|
||||
holder.binding.replyCount.setVisibility(View.GONE);
|
||||
}
|
||||
if(statusToDeal.reblogs_count > 0 && !(context instanceof ContextActivity)) {
|
||||
if(statusToDeal.reblogs_count > 0) {
|
||||
holder.binding.boostCount.setText(String.valueOf(statusToDeal.reblogs_count));
|
||||
holder.binding.boostCount.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
holder.binding.boostCount.setVisibility(View.GONE);
|
||||
}
|
||||
if(statusToDeal.favourites_count > 0 && !(context instanceof ContextActivity)) {
|
||||
if(statusToDeal.favourites_count > 0) {
|
||||
holder.binding.favoriteCount.setText(String.valueOf(statusToDeal.favourites_count));
|
||||
holder.binding.favoriteCount.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
|
|
|
@ -38,6 +38,8 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:clipToPadding="false"
|
||||
android:paddingBottom="6dp"
|
||||
android:fastScrollEnabled="true"
|
||||
android:scrollbarSize="5dp"
|
||||
android:scrollbarThumbVertical="?colorPrimary"
|
||||
android:scrollbars="vertical" />
|
||||
|
||||
|
|
Loading…
Reference in a new issue