Make newly created synced folders auto upload existing files by default

Signed-off-by: Alice Gaudon <alice@gaudon.pro>
This commit is contained in:
Alice Gaudon 2019-11-20 13:29:21 +01:00 committed by tobiasKaminsky
parent 1b7bd72c49
commit 213002f44e
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -471,7 +471,7 @@ public class SyncedFoldersActivity extends FileActivity implements SyncedFolderA
getString(R.string.instant_upload_path) + "/" + mediaFolder.folderName,
true,
false,
false,
true,
false,
getAccount().name,
FileUploader.LOCAL_BEHAVIOUR_FORGET,
@ -580,7 +580,7 @@ public class SyncedFoldersActivity extends FileActivity implements SyncedFolderA
case R.id.action_create_custom_folder: {
Log.d(TAG, "Show custom folder dialog");
SyncedFolderDisplayItem emptyCustomFolder = new SyncedFolderDisplayItem(
SyncedFolder.UNPERSISTED_ID, null, null, true, false, false,
SyncedFolder.UNPERSISTED_ID, null, null, true, false, true,
false, getAccount().name, FileUploader.LOCAL_BEHAVIOUR_FORGET, false,
clock.getCurrentTime(), null, MediaFolderType.CUSTOM, false);
onSyncFolderSettingsClick(0, emptyCustomFolder);