From: masensio Date: Mon, 16 Dec 2013 14:09:27 +0000 (+0100) Subject: OC-2397: Fix bug: file doesn't refresh wwhen you select to refresh after change it X-Git-Tag: oc-android-1.5.5~84^2~4 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/772721ab9aa876b62bc4d2c207674adfb46366d5 OC-2397: Fix bug: file doesn't refresh wwhen you select to refresh after change it --- 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;