Call setupCryptoSettings during onCreate, too
This is slightly wasteful since it's also called in onResume, but we
need to make sure it's been called before onActivityResult. Moving to
onStart won't work, because we do want to refresh onResume if returning
from a dialog.
@@ -713,6 +713,8 @@ public class AccountSettings extends K9PreferenceActivity {
}
});
+ setupCryptoSettings();
+
if (savedInstanceState == null && startInOpenPgp) {
PreferenceScreen preference = (PreferenceScreen) findPreference(PREFERENCE_CRYPTO);
goToPreferenceScreen(preference);
