mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Synchronize all for receiving folders only
This commit is contained in:
parent
6f67982ce0
commit
384d1180cf
1 changed files with 2 additions and 1 deletions
|
@ -350,9 +350,10 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||||
popupMenu.getMenu().add(Menu.NONE, 0, 0, folder.getDisplayName(context)).setEnabled(false);
|
popupMenu.getMenu().add(Menu.NONE, 0, 0, folder.getDisplayName(context)).setEnabled(false);
|
||||||
|
|
||||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_synchronize_now, 1, R.string.title_synchronize_now);
|
popupMenu.getMenu().add(Menu.NONE, R.string.title_synchronize_now, 1, R.string.title_synchronize_now);
|
||||||
popupMenu.getMenu().add(Menu.NONE, R.string.title_synchronize_all, 2, R.string.title_synchronize_all);
|
|
||||||
|
|
||||||
if (folder.account != null) {
|
if (folder.account != null) {
|
||||||
|
popupMenu.getMenu().add(Menu.NONE, R.string.title_synchronize_all, 2, R.string.title_synchronize_all);
|
||||||
|
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
String startup = prefs.getString("startup", "unified");
|
String startup = prefs.getString("startup", "unified");
|
||||||
if (!"accounts".equals(startup))
|
if (!"accounts".equals(startup))
|
||||||
|
|
Loading…
Reference in a new issue