mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
Refresh UI only when changes are detected on the server
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
This commit is contained in:
parent
6cb4a65882
commit
742fa45f16
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ public class RefreshFolderOperation extends RemoteOperation {
|
||||||
mStorageManager.saveFile(mLocalFolder);
|
mStorageManager.saveFile(mLocalFolder);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mSyncFullAccount) {
|
if (!mSyncFullAccount && mRemoteFolderChanged) {
|
||||||
sendLocalBroadcast(
|
sendLocalBroadcast(
|
||||||
EVENT_SINGLE_FOLDER_CONTENTS_SYNCED, mLocalFolder.getRemotePath(), result
|
EVENT_SINGLE_FOLDER_CONTENTS_SYNCED, mLocalFolder.getRemotePath(), result
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue