1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 06:37:30 +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 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;