mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
Merge pull request #9433 from nextcloud/refresh
Refresh on favorite/shared view does search again, not showing root folder content
This commit is contained in:
commit
53999c809c
1 changed files with 2 additions and 1 deletions
|
@ -1542,6 +1542,8 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
|||
|
||||
if (remoteOperationResult.isSuccess() && remoteOperationResult.getResultData() != null
|
||||
&& !isCancelled() && searchFragment) {
|
||||
searchEvent = event;
|
||||
|
||||
if (remoteOperationResult.getResultData() == null || ((List) remoteOperationResult.getResultData()).isEmpty()) {
|
||||
setEmptyView(event);
|
||||
} else {
|
||||
|
@ -1550,7 +1552,6 @@ public class OCFileListFragment extends ExtendedListFragment implements
|
|||
storageManager,
|
||||
mFile,
|
||||
true);
|
||||
searchEvent = event;
|
||||
}
|
||||
|
||||
final ToolbarActivity fileDisplayActivity = (ToolbarActivity) getActivity();
|
||||
|
|
Loading…
Reference in a new issue