mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Subscribe to writable folders only
This commit is contained in:
parent
5a1f2b4fdf
commit
300b6c58a2
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||||
|
|
||||||
if (folder.account != null && folder.accountProtocol == EntityAccount.TYPE_IMAP) {
|
if (folder.account != null && folder.accountProtocol == EntityAccount.TYPE_IMAP) {
|
||||||
boolean subscriptions = prefs.getBoolean("subscriptions", false);
|
boolean subscriptions = prefs.getBoolean("subscriptions", false);
|
||||||
if (subscriptions)
|
if (subscriptions && !folder.read_only)
|
||||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_subscribe, 9, R.string.title_subscribe)
|
popupMenu.getMenu().add(Menu.NONE, R.string.title_subscribe, 9, R.string.title_subscribe)
|
||||||
.setCheckable(true).setChecked(folder.subscribed != null && folder.subscribed);
|
.setCheckable(true).setChecked(folder.subscribed != null && folder.subscribed);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue