correct warning on delete/move

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2024-12-05 12:39:11 +01:00
parent f86238b0af
commit 6ab6f7c46f
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -313,7 +313,8 @@ public class FileDisplayActivity extends FileActivity
boolean showInfoDialog = false;
for (SyncedFolder syncedFolder : syncedFolderProvider.getSyncedFolders()) {
// move or delete after success
if (syncedFolder.getUploadAction() == 1 || syncedFolder.getUploadAction() == 2) {
if (syncedFolder.getUploadAction() == FileUploadWorker.LOCAL_BEHAVIOUR_MOVE ||
syncedFolder.getUploadAction() == FileUploadWorker.LOCAL_BEHAVIOUR_DELETE) {
showInfoDialog = true;
break;
}