mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 06:37:30 +00:00
what
This commit is contained in:
parent
cdb337e07f
commit
9850b19fcf
@ -199,7 +199,7 @@ public final class MainHelper implements SwipeRefreshLayout.OnRefreshListener {
|
||||
|
||||
@Override
|
||||
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();
|
||||
}
|
||||
else if (result != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user