Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/MainHelper.java
|
@ -199,7 +199,7 @@ public final class MainHelper implements SwipeRefreshLayout.OnRefreshListener { |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void onResult(final DiscoverItemModel[] result) { |
|
|
public void onResult(final DiscoverItemModel[] result) { |
|
|
if (result.length == 0) { |
|
|
|
|
|
|
|
|
if (result == null || result.length == 0) { |
|
|
Toast.makeText(main, R.string.discover_empty, Toast.LENGTH_SHORT).show(); |
|
|
Toast.makeText(main, R.string.discover_empty, Toast.LENGTH_SHORT).show(); |
|
|
} |
|
|
} |
|
|
else if (result != null) { |
|
|
else if (result != null) { |
|
|