Merge branch 'develop' of github.com:FRE-Informatica/flutter-freaccesss-hub into develop
This commit is contained in:
commit
d18bc6e1f3
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"editor.quickSuggestions": {
|
||||
"comments": "off",
|
||||
"strings": "off",
|
||||
"other": "off"
|
||||
}
|
||||
}
|
|
@ -62,7 +62,6 @@ class LocalizationService {
|
|||
|
||||
|
||||
final bool isError = response.jsonBody['error'];
|
||||
final String content = response.jsonBody['error_msg'];
|
||||
|
||||
if(isError) StorageUtil().isLogged = false;
|
||||
if(isError) context.go('/welcomePage');
|
||||
|
@ -137,8 +136,9 @@ class LocalizationService {
|
|||
await StorageUtil().ensureInitialization();
|
||||
return await selectLocal(context);
|
||||
}
|
||||
} catch (e) {
|
||||
log('() => catch: $e');
|
||||
} catch (e, s) {
|
||||
log('() => stack: $s');
|
||||
log('() => catch: $e', stackTrace: s);
|
||||
return await selectLocal(context);
|
||||
}
|
||||
return false;
|
||||
|
@ -176,6 +176,7 @@ class LocalizationService {
|
|||
|
||||
return false;
|
||||
} catch (e, s) {
|
||||
log('() => stack: $s');
|
||||
log('() => error: $e', stackTrace: s);
|
||||
DialogUtil.warningDefault(context).whenComplete(() => selectLocal(context));
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue