From 8af65e9ab5a286ff9628e9502321302e9f35286f Mon Sep 17 00:00:00 2001 From: Trang Nguyen <thi_huyen_trang.nguyen@student.reutlingen-university.de> Date: Wed, 9 Dec 2020 10:57:19 +0100 Subject: [PATCH] KAT-49: Changed button's label and ordered the buttons in lock_screen.dart --- .../lib/start_triage_system/lock_screen.dart | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/rescueapp/lib/start_triage_system/lock_screen.dart b/rescueapp/lib/start_triage_system/lock_screen.dart index 48c6f28..f7ec9e4 100644 --- a/rescueapp/lib/start_triage_system/lock_screen.dart +++ b/rescueapp/lib/start_triage_system/lock_screen.dart @@ -90,34 +90,34 @@ class _LockScreenState extends State<LockScreen> { height: 80, ), SizedBox( - width: 200, + width: 300, height: 50, child: Container( child: RaisedButton( - child: new Text('Zweite Sichtung', + child: new Text('Eingabe rückgängig machen', style: TextStyle( fontSize: 20, fontWeight: FontWeight.w600, color: Colors.white)), - color: Colors.grey, - onPressed: null))), + color: Colors.blue[900], + onPressed: () { + Navigator.pop(context); + }))), SizedBox( height: 20, ), SizedBox( - width: 200, + width: 300, height: 50, child: Container( child: RaisedButton( - child: new Text('Zurück', + child: new Text('Zweite Sichtung', style: TextStyle( fontSize: 20, fontWeight: FontWeight.w600, color: Colors.white)), - color: Colors.blue[900], - onPressed: () { - Navigator.pop(context); - }))), + color: Colors.grey, + onPressed: null))), ], ), ), -- GitLab