Skip to content

Commit 07f744f

Browse files
authored
Merge pull request #11100 from nextcloud/chore/skip-ui-refresh-when-no-changes
Refresh UI only when changes are detected on the server
2 parents 998862e + 742fa45 commit 07f744f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/owncloud/android/operations/RefreshFolderOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ protected RemoteOperationResult run(OwnCloudClient client) {
252252
mStorageManager.saveFile(mLocalFolder);
253253
}
254254

255-
if (!mSyncFullAccount) {
255+
if (!mSyncFullAccount && mRemoteFolderChanged) {
256256
sendLocalBroadcast(
257257
EVENT_SINGLE_FOLDER_CONTENTS_SYNCED, mLocalFolder.getRemotePath(), result
258258
);

0 commit comments

Comments
 (0)