We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d0d3a commit 2c2e6a5Copy full SHA for 2c2e6a5
1 file changed
app/src/main/java/com/owncloud/android/ui/adapter/OCShareToOCFileConverter.kt
@@ -84,7 +84,7 @@ object OCShareToOCFileConverter {
84
}
85
86
storageManager?.saveShares(newShares, accountName)
87
- cachedFiles + newFiles
+ (cachedFiles + newFiles).distinctBy { it.remotePath }
88
89
90
private fun buildOcFile(path: String, shares: List<OCShare>): OCFile {
0 commit comments