1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00

Fix some linting

This commit is contained in:
Ammar Githam 2020-09-06 18:26:44 +09:00
parent 7e8fdda81b
commit 00800590ba

View File

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