diff --git a/src/main/java/com/owncloud/android/ui/activity/FolderSyncActivity.java b/src/main/java/com/owncloud/android/ui/activity/FolderSyncActivity.java index 1e9a7f2231..d28843ffdd 100644 --- a/src/main/java/com/owncloud/android/ui/activity/FolderSyncActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/FolderSyncActivity.java @@ -562,11 +562,9 @@ public class FolderSyncActivity extends FileActivity implements FolderSyncAdapte @Override public void onDeleteSyncedFolderPreference(SyncedFolderParcelable syncedFolder) { - // TODO refresh recycler view - mSyncedFolderProvider.deleteSyncedFolder(syncedFolder.getId()); - mAdapter.removeItem(syncedFolder.getSection()); + mAdapter.notifyDataSetChanged(); } /**