mirror of
https://github.com/nextcloud/android.git
synced 2024-12-19 23:42:03 +03:00
correct warning on delete/move
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
f86238b0af
commit
6ab6f7c46f
1 changed files with 2 additions and 1 deletions
|
@ -313,7 +313,8 @@ public class FileDisplayActivity extends FileActivity
|
||||||
boolean showInfoDialog = false;
|
boolean showInfoDialog = false;
|
||||||
for (SyncedFolder syncedFolder : syncedFolderProvider.getSyncedFolders()) {
|
for (SyncedFolder syncedFolder : syncedFolderProvider.getSyncedFolders()) {
|
||||||
// move or delete after success
|
// 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;
|
showInfoDialog = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue