This commit is contained in:
parent
c285120034
commit
b904379af7
@ -112,12 +112,11 @@ class _LoginPageState extends State<LoginPage> {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) => new AlertDialog(
|
||||
title:
|
||||
const Text('Login failed! Please check you credentials.'),
|
||||
title: Text('Login failed! Please check your server url and credentials. ' + ex.toString()),
|
||||
actions: <Widget>[
|
||||
FlatButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
child: const Text('CLOSE'))
|
||||
child: const Text('Close'))
|
||||
],
|
||||
));
|
||||
} finally {
|
||||
|
@ -139,12 +139,11 @@ class _RegisterPageState extends State<RegisterPage> {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (context) => new AlertDialog(
|
||||
title: const Text(
|
||||
'Registration failed! Please check your server url and credentials.'),
|
||||
title: Text('Registration failed! Please check your server url and credentials. ' + ex.toString()),
|
||||
actions: <Widget>[
|
||||
FlatButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
child: const Text('CLOSE'))
|
||||
child: const Text('Close'))
|
||||
],
|
||||
));
|
||||
} finally {
|
||||
|
Reference in New Issue
Block a user