Ensure root folder always shows. (#608)

This commit is contained in:
dosiecki 2014-11-06 11:40:38 -08:00
parent fd3131a52a
commit 6cde9627f9

View file

@ -298,6 +298,9 @@ public class FolderListAdapter extends BaseExpandableListAdapter {
if (! folderFeedMap.containsKey(folderName)) folderFeedMap.put(folderName, new ArrayList<String>());
folderFeedMap.get(folderName).add(feedId);
}
if (!folderFeedMap.containsKey(AppConstants.ROOT_FOLDER)) {
folderFeedMap.put(AppConstants.ROOT_FOLDER, new ArrayList<String>());
}
recountFeeds();
notifyDataSetChanged();
}