mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 13:29:50 +02:00
Do not show a follow button when searching for a user
Lemmy does not handle following users. An option for this was shown on the search results. Close #103
This commit is contained in:
@@ -148,7 +148,7 @@ public class UserListingRecyclerViewAdapter extends PagedListAdapter<UserData, R
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void isNotSubscribed() {
|
public void isNotSubscribed() {
|
||||||
((DataViewHolder) holder).subscribeButton.setVisibility(View.VISIBLE);
|
|
||||||
((DataViewHolder) holder).subscribeButton.setOnClickListener(view -> {
|
((DataViewHolder) holder).subscribeButton.setOnClickListener(view -> {
|
||||||
UserFollowing.followUser(oauthRetrofit, retrofit,
|
UserFollowing.followUser(oauthRetrofit, retrofit,
|
||||||
accessToken, userData.getName(), accountName, redditDataRoomDatabase,
|
accessToken, userData.getName(), accountName, redditDataRoomDatabase,
|
||||||
|
Reference in New Issue
Block a user