fix(oc-file-list): favorite refresh#17018
Conversation
|
/backport to stable-33.1.x |
| } | ||
|
|
||
| val file = storageManager.getFileById(renamedFile.parentId) | ||
| if (file != null && file == getCurrentDir()) { |
There was a problem hiding this comment.
if (file != null && file == getCurrentDir()) {
Is there any reason to use this condition here @tobiasKaminsky ?
There was a problem hiding this comment.
We need it, yes. If e.g. someone renames a file and directly navigates to another folder.
then we do not need to refresh the other folder.
769f480 to
a8abad5
Compare
|
APK file: https://github.com/nextcloud/android/actions/runs/25664115298/artifacts/6916208022 |
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
…ate item Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
…task Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
35b9cdd to
cc97f6b
Compare
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
|
blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
APK file: https://github.com/nextcloud/android/actions/runs/25673926941/artifacts/6920944020 |
|
|
||
| @Override | ||
| public String getFolderLayout(OCFile folder) { | ||
| public String getFolderLayout(OCFile folder, String defaultLayout) { |
There was a problem hiding this comment.
Please adopt to use it like in " setSortOrder(FileSortOrder.Type type"
| } | ||
|
|
||
| val file = storageManager.getFileById(renamedFile.parentId) | ||
| if (file != null && file == getCurrentDir()) { |
There was a problem hiding this comment.
We need it, yes. If e.g. someone renames a file and directly navigates to another folder.
then we do not need to refresh the other folder.
Issue
Duplicated items is displayed after rename favorite file
Steps to reproduce
Changes