1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-23 13:26:59 +00:00

Fix posts duplication on profile follow/unfollow

This commit is contained in:
Ammar Githam 2020-09-19 17:06:00 +09:00
parent 0e881ba7c5
commit 07bb2f47f1

View File

@ -648,7 +648,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
@Override
public void onSuccess(final FriendshipRepoChangeRootResponse result) {
Log.d(TAG, "Unfollow success: " + result);
fetchProfileDetails();
onRefresh();
}
@Override
@ -665,7 +665,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
@Override
public void onSuccess(final FriendshipRepoChangeRootResponse result) {
Log.d(TAG, "Follow success: " + result);
fetchProfileDetails();
onRefresh();
}
@Override