Fix issue #691 - Suggested accounts cannot be followed

This commit is contained in:
Thomas 2022-12-27 16:58:38 +01:00
parent 4be595ea54
commit 852be8c608
2 changed files with 3 additions and 2 deletions

View file

@ -109,7 +109,6 @@ public class SuggestionAdapter extends RecyclerView.Adapter<RecyclerView.ViewHol
new WeakReference<>(holder.binding.bio)), new WeakReference<>(holder.binding.bio)),
TextView.BufferType.SPANNABLE); TextView.BufferType.SPANNABLE);
holder.binding.followAction.setEnabled(false);
holder.binding.followAction.setOnClickListener(v -> { holder.binding.followAction.setOnClickListener(v -> {
suggestionList.remove(position); suggestionList.remove(position);
notifyItemRemoved(position); notifyItemRemoved(position);

View file

@ -106,7 +106,9 @@
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
android:insetTop="0dp" android:insetTop="0dp"
android:insetBottom="0dp" android:insetBottom="0dp"
android:padding="6dp" android:padding="0dp"
app:iconGravity="textStart"
app:iconPadding="0dp"
app:icon="@drawable/ic_baseline_person_add_24" app:icon="@drawable/ic_baseline_person_add_24"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/bio" /> app:layout_constraintTop_toBottomOf="@id/bio" />