select uncategorized by default when subscribing (closes #760)
This commit is contained in:
parent
5a95900253
commit
f89bdad904
@ -224,7 +224,6 @@ public class SubscribeActivity extends CommonShareActivity {
|
||||
final List<FeedCategory> cats = new Gson().fromJson(content, listType);
|
||||
|
||||
m_cats.clear();
|
||||
m_cats.add(new FeedCategory(0, "Uncategorized", 0));
|
||||
|
||||
for (FeedCategory c : cats) {
|
||||
if (c.id > 0)
|
||||
@ -233,6 +232,8 @@ public class SubscribeActivity extends CommonShareActivity {
|
||||
|
||||
sortCats();
|
||||
|
||||
m_cats.add(0, new FeedCategory(0, "Uncategorized", 0));
|
||||
|
||||
m_adapter.notifyDataSetChanged();
|
||||
|
||||
toast(R.string.category_list_updated);
|
||||
|
Loading…
Reference in New Issue
Block a user