mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 09:10:04 +02:00
Fix issue #691 - Suggested accounts cannot be followed
This commit is contained in:
parent
4be595ea54
commit
852be8c608
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
Loading…
Reference in a new issue