1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

enabled/disabled labels fix in catalogs manager

This commit is contained in:
Dmitry Yuranov 2013-09-24 11:51:25 +04:00
parent 1470c6fffd
commit b2c77c254b

View file

@ -57,7 +57,7 @@ public class CatalogManagerActivity extends ListActivity {
myAllItems.clear();
if (myIds.size() > 0) {
myAllItems.add(new SectionItem("active"));
myAllItems.add(new SectionItem("enabled"));
final TreeSet<CatalogItem> cItems = new TreeSet<CatalogItem>();
for (String id : myIds) {
final NetworkTree tree = NetworkLibrary.Instance().getCatalogTreeByUrlAll(id);
@ -70,7 +70,7 @@ public class CatalogManagerActivity extends ListActivity {
}
if (myInactiveIds.size() > 0) {
myAllItems.add(new SectionItem("inactive"));
myAllItems.add(new SectionItem("disabled"));
final TreeSet<CatalogItem> cItems = new TreeSet<CatalogItem>();
for (String id : myInactiveIds) {
cItems.add(new CatalogItem(id, false, NetworkLibrary.Instance().getCatalogTreeByUrlAll(id)));