Эх сурвалжийг харах

Add custom folder init

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 жил өмнө
parent
commit
b1a5ae9a18

+ 1 - 0
src/main/java/com/owncloud/android/ui/activity/FolderSyncActivity.java

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