mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 18:59:18 +03:00
Make newly created synced folders auto upload existing files by default
Signed-off-by: Alice Gaudon <alice@gaudon.pro>
This commit is contained in:
parent
1b7bd72c49
commit
213002f44e
1 changed files with 2 additions and 2 deletions
|
@ -471,7 +471,7 @@ public class SyncedFoldersActivity extends FileActivity implements SyncedFolderA
|
||||||
getString(R.string.instant_upload_path) + "/" + mediaFolder.folderName,
|
getString(R.string.instant_upload_path) + "/" + mediaFolder.folderName,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
false,
|
true,
|
||||||
false,
|
false,
|
||||||
getAccount().name,
|
getAccount().name,
|
||||||
FileUploader.LOCAL_BEHAVIOUR_FORGET,
|
FileUploader.LOCAL_BEHAVIOUR_FORGET,
|
||||||
|
@ -580,7 +580,7 @@ public class SyncedFoldersActivity extends FileActivity implements SyncedFolderA
|
||||||
case R.id.action_create_custom_folder: {
|
case R.id.action_create_custom_folder: {
|
||||||
Log.d(TAG, "Show custom folder dialog");
|
Log.d(TAG, "Show custom folder dialog");
|
||||||
SyncedFolderDisplayItem emptyCustomFolder = new SyncedFolderDisplayItem(
|
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,
|
false, getAccount().name, FileUploader.LOCAL_BEHAVIOUR_FORGET, false,
|
||||||
clock.getCurrentTime(), null, MediaFolderType.CUSTOM, false);
|
clock.getCurrentTime(), null, MediaFolderType.CUSTOM, false);
|
||||||
onSyncFolderSettingsClick(0, emptyCustomFolder);
|
onSyncFolderSettingsClick(0, emptyCustomFolder);
|
||||||
|
|
Loading…
Reference in a new issue