mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
commit
040b460811
1 changed files with 3 additions and 1 deletions
|
@ -1676,7 +1676,9 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
|||
}
|
||||
|
||||
private boolean isSearchEventSet(SearchEvent event) {
|
||||
return event != null && !TextUtils.isEmpty(event.getSearchQuery()) && event.getSearchType() != null
|
||||
return event != null && event.getSearchType() != null &&
|
||||
(!TextUtils.isEmpty(event.getSearchQuery()) ||
|
||||
event.searchType == SearchRemoteOperation.SearchType.SHARED_SEARCH)
|
||||
&& event.getUnsetType() != null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue