Browse Source
Merge branch 'master' into pr/245
renovate/org.robolectric-robolectric-4.x
Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
3 changed files with
11 additions and
9 deletions
-
app/src/main/java/awais/instagrabber/fragments/directmessages/DirectMessageThreadFragment.java
-
app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
-
gradle/wrapper/gradle-wrapper.properties
|
@ -425,7 +425,7 @@ public class DirectMessageThreadFragment extends Fragment { |
|
|
@Override |
|
|
@Override |
|
|
public void onDestroy() { |
|
|
public void onDestroy() { |
|
|
super.onDestroy(); |
|
|
super.onDestroy(); |
|
|
listViewModel.getList().postValue(Collections.emptyList()); |
|
|
|
|
|
|
|
|
if (listViewModel != null) listViewModel.getList().postValue(Collections.emptyList()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void sendText(final String text, final String itemId, final boolean delete) { |
|
|
private void sendText(final String text, final String itemId, final boolean delete) { |
|
|
|
@ -765,12 +765,14 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void showProfilePicDialog() { |
|
|
private void showProfilePicDialog() { |
|
|
final FragmentManager fragmentManager = getParentFragmentManager(); |
|
|
|
|
|
final ProfilePicDialogFragment fragment = new ProfilePicDialogFragment(profileModel.getId(), username, profileModel.getHdProfilePic()); |
|
|
|
|
|
final FragmentTransaction ft = fragmentManager.beginTransaction(); |
|
|
|
|
|
ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN) |
|
|
|
|
|
.add(fragment, "profilePicDialog") |
|
|
|
|
|
.commit(); |
|
|
|
|
|
|
|
|
if (profileModel != null) { |
|
|
|
|
|
final FragmentManager fragmentManager = getParentFragmentManager(); |
|
|
|
|
|
final ProfilePicDialogFragment fragment = new ProfilePicDialogFragment(profileModel.getId(), username, profileModel.getHdProfilePic()); |
|
|
|
|
|
final FragmentTransaction ft = fragmentManager.beginTransaction(); |
|
|
|
|
|
ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN) |
|
|
|
|
|
.add(fragment, "profilePicDialog") |
|
|
|
|
|
.commit(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void setUsernameDelayed() { |
|
|
private void setUsernameDelayed() { |
|
|
|
@ -1,6 +1,6 @@ |
|
|
distributionBase=GRADLE_USER_HOME |
|
|
distributionBase=GRADLE_USER_HOME |
|
|
distributionPath=wrapper/dists |
|
|
distributionPath=wrapper/dists |
|
|
distributionSha256Sum=10065868c78f1207afb3a92176f99a37d753a513dff453abb6b5cceda4058cda |
|
|
|
|
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip |
|
|
|
|
|
|
|
|
distributionSha256Sum=5252d2f1a984e5518e604678b3964bb0227c4573fcc880b92548bc687c851704 |
|
|
|
|
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-rc-5-all.zip |
|
|
zipStoreBase=GRADLE_USER_HOME |
|
|
zipStoreBase=GRADLE_USER_HOME |
|
|
zipStorePath=wrapper/dists |
|
|
zipStorePath=wrapper/dists |