Эх сурвалжийг харах

Merge e797e5ced8a439634f6f937f87d233556ee0149d into 7f523dfbcd26f5c1e220e7b80167fdd23457e744

ardevd 6 жил өмнө
parent
commit
81987b9b25

+ 1 - 1
src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java

@@ -1471,7 +1471,7 @@ public class FileDataStorageManager {
         // Reset flags & Remove shares for this files
         String filePath = "";
         for (OCShare share : shares) {
-            if (filePath != share.getPath()) {
+            if (filePath.equals(share.getPath())) {
                 filePath = share.getPath();
                 resetShareFlagInAFile(filePath);
                 operations = prepareRemoveSharesInFile(filePath, operations);