mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-12-12 15:06:30 +00:00
Update ProfileFetcher.java
This commit is contained in:
parent
a004bfa9a9
commit
cc9a7f87f9
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ public final class ProfileFetcher extends AsyncTask<Void, Void, ProfileModel> {
|
||||||
final JSONObject timelineMedia = user.getJSONObject("edge_owner_to_timeline_media");
|
final JSONObject timelineMedia = user.getJSONObject("edge_owner_to_timeline_media");
|
||||||
if (timelineMedia.has("edges")) {
|
if (timelineMedia.has("edges")) {
|
||||||
final JSONArray edges = timelineMedia.getJSONArray("edges");
|
final JSONArray edges = timelineMedia.getJSONArray("edges");
|
||||||
if (edges.length() > 0 || timelineMedia.getLong("count") == 0L) reallyPrivate = false;
|
if (edges.length() > 0 && timelineMedia.getLong("count") > 0L) reallyPrivate = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
String url = user.optString("external_url");
|
String url = user.optString("external_url");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue