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:
Dariusz Olszewski 2022-11-27 17:13:44 +01:00 committed by Álvaro Brey (Rebase PR Action)
parent 6cb4a65882
commit 742fa45f16

View file

@ -252,7 +252,7 @@ public class RefreshFolderOperation extends RemoteOperation {
mStorageManager.saveFile(mLocalFolder);
}
if (!mSyncFullAccount) {
if (!mSyncFullAccount && mRemoteFolderChanged) {
sendLocalBroadcast(
EVENT_SINGLE_FOLDER_CONTENTS_SYNCED, mLocalFolder.getRemotePath(), result
);