diff --git a/app/src/main/java/eu/faircode/email/FragmentSetup.java b/app/src/main/java/eu/faircode/email/FragmentSetup.java index 67a707f546..6ae3931286 100644 --- a/app/src/main/java/eu/faircode/email/FragmentSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentSetup.java @@ -330,6 +330,9 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS int resid = res.getIdentifier("provider_" + provider.id, "drawable", pkg); if (resid != 0) item.setIcon(resid); + + if ("outlook".equals(provider.id)) + menu.add(Menu.FIRST, R.string.title_setup_outlook, order++, R.string.title_setup_outlook); } menu.add(Menu.NONE, R.string.title_setup_other, order++, R.string.title_setup_other) @@ -374,7 +377,8 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS .setNegativeButton(android.R.string.cancel, null) .show(); return true; - } else if (itemId == R.string.title_setup_other) { + } else if (itemId == R.string.title_setup_other || + itemId == R.string.title_setup_outlook) { lbm.sendBroadcast(new Intent(ActivitySetup.ACTION_QUICK_SETUP)); return true; } else if (itemId == R.string.title_setup_classic) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e0d977838f..fa40e292de 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -217,6 +217,7 @@ %1$s (OAuth) %1$s (Android) Sign in with Google + Outlook/Hotmail/Live Other provider Incoming email only (email cannot be sent!) POP3 account