disallow unsubscribing from special feeds
This commit is contained in:
parent
a4d38f3227
commit
f0a29f9bcb
@ -256,7 +256,11 @@ public class FeedsFragment extends Fragment implements OnItemClickListener, OnSh
|
|||||||
if (!feed.is_cat) {
|
if (!feed.is_cat) {
|
||||||
menu.findItem(R.id.browse_feeds).setVisible(false);
|
menu.findItem(R.id.browse_feeds).setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (feed.id <= 0) {
|
||||||
|
menu.findItem(R.id.unsubscribe_feed).setVisible(false);
|
||||||
|
}
|
||||||
|
|
||||||
super.onCreateContextMenu(menu, v, menuInfo);
|
super.onCreateContextMenu(menu, v, menuInfo);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user