show "shared" again (#4249)

show "shared" again
This commit is contained in:
Tobias Kaminsky authored and GitHub committed 2019-07-23 07:01:54 +02:00
commit 040b460811
1 file changed
+3 -1
@@ -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;
}
}