pull/183/head
M66B 5 years ago
parent 8be1b3394c
commit 9dc0f4b039

@ -1408,9 +1408,6 @@ public class FragmentAccount extends FragmentBase {
@Override @Override
protected void onExecuted(Bundle args, final EntityAccount account) { protected void onExecuted(Bundle args, final EntityAccount account) {
if (copy > 0 && account != null)
account.last_connected = null;
// Get providers // Get providers
List<EmailProvider> providers = EmailProvider.loadProfiles(getContext()); List<EmailProvider> providers = EmailProvider.loadProfiles(getContext());
providers.add(0, new EmailProvider(getString(R.string.title_select))); providers.add(0, new EmailProvider(getString(R.string.title_select)));

@ -1058,9 +1058,6 @@ public class FragmentIdentity extends FragmentBase {
@Override @Override
protected void onExecuted(Bundle args, final EntityIdentity identity) { protected void onExecuted(Bundle args, final EntityIdentity identity) {
if (copy > 0 && identity != null)
identity.last_connected = null;
if (savedInstanceState == null) { if (savedInstanceState == null) {
etName.setText(identity == null ? null : identity.name); etName.setText(identity == null ? null : identity.name);
etEmail.setText(identity == null ? null : identity.email); etEmail.setText(identity == null ? null : identity.email);

Loading…
Cancel
Save