Merge branch 'feature/follow_hashtags' into fork

This commit is contained in:
sk 2022-11-20 00:18:00 +01:00
commit f0a51a15a9
1 changed files with 1 additions and 1 deletions

View File

@ -66,8 +66,8 @@ public class HashtagTimelineFragment extends StatusListFragment{
new SetHashtagFollowed(hashtag, following).setCallback(new Callback<>() { new SetHashtagFollowed(hashtag, following).setCallback(new Callback<>() {
@Override @Override
public void onSuccess(Hashtag i) { public void onSuccess(Hashtag i) {
if (i.following == following) Toast.makeText(getActivity(), getString(i.following ? R.string.followed_user : R.string.unfollowed_user, "#" + i.name), Toast.LENGTH_SHORT).show();
updateFollowingState(i.following); updateFollowingState(i.following);
Toast.makeText(getActivity(), getString(i.following ? R.string.followed_user : R.string.unfollowed_user, "#" + i.name), Toast.LENGTH_SHORT).show();
} }
@Override @Override