Merge pull request #9432 from nextcloud/showCorrectNoShared

if no shared files are on server, show correct empty message
This commit is contained in:
Álvaro Brey 2022-03-16 10:45:08 +01:00 committed by GitHub
commit 76d9bbfba3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1442,6 +1442,10 @@ public class OCFileListFragment extends ExtendedListFragment implements
case RECENTLY_MODIFIED_SEARCH:
setEmptyListMessage(SearchType.RECENTLY_MODIFIED_SEARCH);
break;
case SHARED_FILTER:
setEmptyListMessage(SearchType.SHARED_FILTER);
break;
default:
setEmptyListMessage(SearchType.NO_SEARCH);