mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Add custom folder init
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
cb4017f095
commit
b1a5ae9a18
1 changed files with 1 additions and 0 deletions
|
@ -525,6 +525,7 @@ public class FolderSyncActivity extends FileActivity implements FolderSyncAdapte
|
|||
long storedId = mSyncedFolderProvider.storeFolderSync(newCustomFolder);
|
||||
if (storedId != -1) {
|
||||
newCustomFolder.setId(storedId);
|
||||
EventBus.getDefault().post(new InitiateSyncedFolder(newCustomFolder));
|
||||
}
|
||||
mAdapter.addSyncFolderItem(newCustomFolder);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue