mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
if categories.isEmpty()
This commit is contained in:
parent
f38b32347b
commit
5e500fa653
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ public class CategorizationFragment extends SherlockFragment{
|
||||||
categoriesAdapter.notifyDataSetInvalidated();
|
categoriesAdapter.notifyDataSetInvalidated();
|
||||||
categoriesSearchInProgress.setVisibility(View.GONE);
|
categoriesSearchInProgress.setVisibility(View.GONE);
|
||||||
|
|
||||||
if (categories.size() == 0) {
|
if (categories.isEmpty()) {
|
||||||
if(TextUtils.isEmpty(filter)) {
|
if(TextUtils.isEmpty(filter)) {
|
||||||
// If we found no recent cats, show the skip message!
|
// If we found no recent cats, show the skip message!
|
||||||
categoriesSkip.setVisibility(View.VISIBLE);
|
categoriesSkip.setVisibility(View.VISIBLE);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue