mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Fixed error in first synchronization, once again
This commit is contained in:
parent
adcb8d924b
commit
5c0faf237d
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ public class OCFileListFragment extends FragmentListView {
|
|||
directory = storageManager.getFileById(directory.getParentId());
|
||||
}
|
||||
|
||||
mAdapter.swapDirectory(mFile, storageManager);
|
||||
mAdapter.swapDirectory(directory, storageManager);
|
||||
if (mFile == null || !mFile.equals(directory)) {
|
||||
mList.setSelectionFromTop(0, 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue