Revert "Added import settings to wizard"

This reverts commit 2c254b4981.
pull/214/head
M66B 1 year ago
parent 7ce3e81c1f
commit 6568345e09

@ -346,10 +346,6 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
ss.setSpan(new RelativeSizeSpan(HtmlHelper.FONT_SMALL), 0, ss.length(), 0); ss.setSpan(new RelativeSizeSpan(HtmlHelper.FONT_SMALL), 0, ss.length(), 0);
menu.add(Menu.FIRST, R.string.title_setup_pop3, order++, ss); menu.add(Menu.FIRST, R.string.title_setup_pop3, order++, ss);
ss = new SpannableString(getString(R.string.title_setup_import));
ss.setSpan(new RelativeSizeSpan(HtmlHelper.FONT_SMALL), 0, ss.length(), 0);
menu.add(Menu.FIRST, R.string.title_setup_import, order++, ss);
popupMenu.insertIcons(context); popupMenu.insertIcons(context);
MenuCompat.setGroupDividerEnabled(menu, true); MenuCompat.setGroupDividerEnabled(menu, true);
@ -400,18 +396,6 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
} else if (itemId == R.string.title_setup_pop3) { } else if (itemId == R.string.title_setup_pop3) {
lbm.sendBroadcast(new Intent(ActivitySetup.ACTION_QUICK_POP3)); lbm.sendBroadcast(new Intent(ActivitySetup.ACTION_QUICK_POP3));
return true; return true;
} else if (itemId == R.string.title_setup_import) {
FragmentActivity activity = getActivity();
if (activity == null)
return false;
for (int i = 0; i < FragmentOptions.PAGE_TITLES.length; i++)
if (FragmentOptions.PAGE_TITLES[i] == R.string.title_advanced_section_backup) {
Bundle result = new Bundle();
result.putInt("page", i);
activity.getSupportFragmentManager().setFragmentResult("options:tab", result);
return true;
}
return false;
} else if (itemId == R.string.menu_faq) { } else if (itemId == R.string.menu_faq) {
Helper.view(getContext(), Helper.getSupportUri(getContext(), "Providers:support"), false); Helper.view(getContext(), Helper.getSupportUri(getContext(), "Providers:support"), false);
return true; return true;

Loading…
Cancel
Save