-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
BugFix - Filter OCFileList #14809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BugFix - Filter OCFileList #14809
Conversation
@@ -858,12 +859,18 @@ public void swapDirectory( | |||
mFiles = updatedStorageManager.filter(currentDirectory, OCFileFilterType.Favorite); | |||
} | |||
|
|||
// Filter out temp files from the list to prevent duplication | |||
mFiles = OCFileExtensionsKt.filterTempFilter(mFiles); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temp files used for E2EE and swapDirectory gets called multiple times with same data. These issues will be handled in different PR.
app/src/main/java/com/nextcloud/utils/extensions/OCFileExtensions.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/nextcloud/utils/extensions/OCFileExtensions.kt
Outdated
Show resolved
Hide resolved
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
Signed-off-by: alperozturk <[email protected]>
…ons.kt Co-authored-by: Tom <[email protected]> Signed-off-by: Alper Öztürk <[email protected]>
e8af738
to
31a25c4
Compare
Signed-off-by: alperozturk <[email protected]>
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14809.apk |
How to reproduce?
Issue Demo
Screen.Recording.2025-04-22.at.09.37.01.mp4
Fix
fix.mp4