Configure IMAP account

This commit is contained in:
M66B 2024-01-08 17:13:46 +01:00
parent c524d14f7d
commit 87671ee031
2 changed files with 9 additions and 4 deletions

View File

@ -346,9 +346,13 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
order = getMenuItems(menu, context, providers, order, true, debug); order = getMenuItems(menu, context, providers, order, true, debug);
SpannableString ss = new SpannableString(getString(R.string.title_setup_pop3)); SpannableString imap = new SpannableString(getString(R.string.title_setup_imap));
ss.setSpan(new RelativeSizeSpan(HtmlHelper.FONT_SMALL), 0, ss.length(), 0); imap.setSpan(new RelativeSizeSpan(HtmlHelper.FONT_SMALL), 0, imap.length(), 0);
menu.add(Menu.FIRST, R.string.title_setup_pop3, order++, ss); menu.add(Menu.FIRST, R.string.title_setup_imap, order++, imap);
SpannableString pop3 = new SpannableString(getString(R.string.title_setup_pop3));
pop3.setSpan(new RelativeSizeSpan(HtmlHelper.FONT_SMALL), 0, pop3.length(), 0);
menu.add(Menu.FIRST, R.string.title_setup_pop3, order++, pop3);
popupMenu.insertIcons(context); popupMenu.insertIcons(context);
@ -381,7 +385,7 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
lbm.sendBroadcast(new Intent(ActivitySetup.ACTION_QUICK_SETUP) lbm.sendBroadcast(new Intent(ActivitySetup.ACTION_QUICK_SETUP)
.putExtra("title", itemId)); .putExtra("title", itemId));
return true; return true;
} else if (itemId == R.string.title_setup_classic) { } else if (itemId == R.string.title_setup_imap) {
ibManual.setPressed(true); ibManual.setPressed(true);
ibManual.setPressed(false); ibManual.setPressed(false);
manual = true; manual = true;

View File

@ -230,6 +230,7 @@
<string name="title_setup_google_sign_in">Sign in with Google</string> <string name="title_setup_google_sign_in">Sign in with Google</string>
<string name="title_setup_other">Other provider</string> <string name="title_setup_other">Other provider</string>
<string name="title_setup_inbound">Incoming email only (email cannot be sent!)</string> <string name="title_setup_inbound">Incoming email only (email cannot be sent!)</string>
<string name="title_setup_imap">IMAP account</string>
<string name="title_setup_pop3">POP3 account</string> <string name="title_setup_pop3">POP3 account</string>
<string name="title_setup_oauth_permission">The email provider has approved OAuth only for the Play Store and GitHub version</string> <string name="title_setup_oauth_permission">The email provider has approved OAuth only for the Play Store and GitHub version</string>
<string name="title_setup_gmail_support">Authorizing Google accounts will work in the Play Store and GitHub version only because Android checks the digital app signature</string> <string name="title_setup_gmail_support">Authorizing Google accounts will work in the Play Store and GitHub version only because Android checks the digital app signature</string>