Austin Huang
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
|
|
@ -917,6 +917,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe |
|
|
|
|
|
|
|
private void setupButtons(final long profileId) { |
|
|
|
profileDetailsBinding.btnTagged.setVisibility(isReallyPrivate() ? View.GONE : View.VISIBLE); |
|
|
|
profileDetailsBinding.favChip.setVisibility(View.VISIBLE); |
|
|
|
if (isLoggedIn) { |
|
|
|
if (Objects.equals(profileId, myId)) { |
|
|
|
profileDetailsBinding.btnTagged.setVisibility(View.VISIBLE); |
|
|
@ -932,7 +933,6 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe |
|
|
|
profileDetailsBinding.btnLiked.setVisibility(View.GONE); |
|
|
|
profileDetailsBinding.btnDM.setVisibility(disableDm ? View.GONE : View.VISIBLE); |
|
|
|
profileDetailsBinding.btnFollow.setVisibility(View.VISIBLE); |
|
|
|
profileDetailsBinding.favChip.setVisibility(View.VISIBLE); |
|
|
|
final Context context = getContext(); |
|
|
|
if (context == null) return; |
|
|
|
if (profileModel.getFriendshipStatus().isFollowing() || profileModel.getFriendshipStatus().isFollowedBy()) { |
|
|
|