From 772721ab9aa876b62bc4d2c207674adfb46366d5 Mon Sep 17 00:00:00 2001 From: masensio Date: Mon, 16 Dec 2013 15:09:27 +0100 Subject: [PATCH] OC-2397: Fix bug: file doesn't refresh wwhen you select to refresh after change it --- src/com/owncloud/android/operations/SynchronizeFileOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/owncloud/android/operations/SynchronizeFileOperation.java b/src/com/owncloud/android/operations/SynchronizeFileOperation.java index 08367c12..d797eb41 100644 --- a/src/com/owncloud/android/operations/SynchronizeFileOperation.java +++ b/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; -- 2.11.0