Browse Source

OC-2397: Fix bug: file doesn't refresh wwhen you select to refresh after change it

masensio 11 years ago
parent
commit
772721ab9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/com/owncloud/android/operations/SynchronizeFileOperation.java

+ 1 - 1
src/com/owncloud/android/operations/SynchronizeFileOperation.java

@@ -94,7 +94,7 @@ public class SynchronizeFileOperation extends RemoteOperation {
                 }
             }
 
-            if (result == null) {   // true if the server was not checked. nothing was wrong with the remote request
+            if (result.isSuccess()) {   
 
                 /// check changes in server and local file
                 boolean serverChanged = false;