mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Ensure root folder always shows. (#608)
This commit is contained in:
parent
fd3131a52a
commit
6cde9627f9
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue