Эх сурвалжийг харах

Remove not needed check

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 3 жил өмнө
parent
commit
b2bfd985da

+ 0 - 6
src/main/java/com/owncloud/android/ui/asynctasks/GallerySearchTask.java

@@ -97,12 +97,6 @@ public class GallerySearchTask extends AsyncTask<Void, Void, GallerySearchTask.R
                 RemoteOperationResult result = searchRemoteOperation.execute(user.toPlatformAccount(),
                                                                              photoFragment.getContext());
 
-                if (result.isSuccess() && result.getData() != null && !isCancelled()) {
-                    if (result.getData() == null || result.getData().size() == 0) {
-                        photoFragment.setEmptyListMessage(ExtendedListFragment.SearchType.GALLERY_SEARCH);
-                    }
-                }
-
                 boolean emptySearch = parseMedia(startDate, endDate, result.getData());
                 long lastTimeStamp = findLastTimestamp(result.getData());