|
|
|
|
@ -329,15 +329,17 @@ class _Register extends State<Register> {
|
|
|
|
|
nRequest['LogInTokenID'] = response['LogInTokenID'];
|
|
|
|
|
if (response['hasFile'] == true) {
|
|
|
|
|
ConfirmDialog dialog = new ConfirmDialog(
|
|
|
|
|
context: context,
|
|
|
|
|
confirmMessage: response['ErrorEndUserMessage'],
|
|
|
|
|
okText: TranslationBase.of(context).ok,
|
|
|
|
|
okFunction: () {
|
|
|
|
|
AlertDialogBox.closeAlertDialog(context);
|
|
|
|
|
|
|
|
|
|
sharedPref.setObject(REGISTER_DATA_FOR_LOGIIN, nRequest);
|
|
|
|
|
Navigator.of(context).push(FadePage(page: Login()));
|
|
|
|
|
}).showAlertDialog(context);
|
|
|
|
|
context: context,
|
|
|
|
|
confirmMessage: response['ErrorEndUserMessage'],
|
|
|
|
|
okText: TranslationBase.of(context).ok,
|
|
|
|
|
cancelText: TranslationBase.of(context).cancel,
|
|
|
|
|
okFunction: () {
|
|
|
|
|
AlertDialogBox.closeAlertDialog(context);
|
|
|
|
|
sharedPref.setObject(REGISTER_DATA_FOR_LOGIIN, nRequest);
|
|
|
|
|
Navigator.of(context).push(FadePage(page: Login()));
|
|
|
|
|
},
|
|
|
|
|
cancelFunction: () {})
|
|
|
|
|
.showAlertDialog(context);
|
|
|
|
|
} else {
|
|
|
|
|
nRequest['forRegister'] = true;
|
|
|
|
|
nRequest['isRegister'] = true;
|
|
|
|
|
|