Skip to content

Commit

Permalink
Merge pull request #14132 from nextcloud/backport/14128/stable-3.30
Browse files Browse the repository at this point in the history
[stable-3.30] correct warning on delete/move
  • Loading branch information
tobiasKaminsky authored Dec 5, 2024
2 parents 86da762 + 488663a commit aa29235
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ private void checkAutoUploadOnGPlay() {
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;
}
Expand Down

0 comments on commit aa29235

Please sign in to comment.