added todo where the list refresh should take place

This commit is contained in:
AndyScherzinger 2017-05-28 00:45:14 +02:00
parent e93cd2723f
commit 127506baf3
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -481,6 +481,11 @@ public class FolderSyncActivity extends FileActivity implements FolderSyncAdapte
item.setId(storedId);
}
// custom folders newly created aren't in the list already,
// so triggering a refresh
if (MediaFolder.CUSTOM.equals(item.getType())) {
// TODO add item to the list and enforce a refresh
}
} else {
// existing synced folder setup to be updated
mSyncedFolderProvider.updateSyncFolder(item);