Browse Source

Fix some linting

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
00800590ba
  1. 7
      app/src/main/java/awais/instagrabber/dialogs/ProfilePicDialogFragment.java

7
app/src/main/java/awais/instagrabber/dialogs/ProfilePicDialogFragment.java

@ -42,11 +42,6 @@ public class ProfilePicDialogFragment extends DialogFragment {
private DialogProfilepicBinding binding;
private String url;
private boolean fallbackToProfile;
private FetchListener<String> fetchListener;
private boolean errorHandled;
private boolean isHashtag;
private boolean destroyed;
public ProfilePicDialogFragment(final String id, final String name, final String fallbackUrl) {
this.id = id;
@ -109,7 +104,7 @@ public class ProfilePicDialogFragment extends DialogFragment {
}
private void fetchPhoto() {
fetchListener = profileUrl -> {
final FetchListener<String> fetchListener = profileUrl -> {
url = profileUrl;
if (Utils.isEmpty(url)) {
url = fallbackUrl;

Loading…
Cancel
Save