Add custom folder init

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-06-30 20:33:33 +02:00 committed by AndyScherzinger
parent cb4017f095
commit b1a5ae9a18
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -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 {