From 00800590ba651516a450984238fac7c9646fa934 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Sun, 6 Sep 2020 18:26:44 +0900 Subject: [PATCH] Fix some linting --- .../instagrabber/dialogs/ProfilePicDialogFragment.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/src/main/java/awais/instagrabber/dialogs/ProfilePicDialogFragment.java b/app/src/main/java/awais/instagrabber/dialogs/ProfilePicDialogFragment.java index ce8af721..49c63346 100644 --- a/app/src/main/java/awais/instagrabber/dialogs/ProfilePicDialogFragment.java +++ b/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 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 fetchListener = profileUrl -> { url = profileUrl; if (Utils.isEmpty(url)) { url = fallbackUrl;