1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-12-22 21:16:57 +00:00
This commit is contained in:
Austin Huang 2020-08-05 16:02:02 -04:00
parent cdb337e07f
commit 9850b19fcf
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -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) {