Fix problem of duplication of account when there are a problem of registration on generic login

This commit is contained in:
Erwan Croze 2017-02-27 13:25:20 +01:00
parent 7d345a5f16
commit 54aed57e04

View file

@ -175,6 +175,7 @@ private static AssistantActivity instance;
if (progress != null) progress.dismiss(); if (progress != null) progress.dismiss();
if (dialog == null || !dialog.isShowing()) { if (dialog == null || !dialog.isShowing()) {
dialog = createErrorDialog(cfg, smessage); dialog = createErrorDialog(cfg, smessage);
dialog.setCancelable(false);
dialog.show(); dialog.show();
} }
} else if(!(state == RegistrationState.RegistrationProgress)) { } else if(!(state == RegistrationState.RegistrationProgress)) {