From 75be5cbfa1c373e2defb1ce30c8f440a1debafe9 Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Fri, 24 Nov 2023 17:54:16 +0700 Subject: [PATCH] new attempt --- lib/screens/results_screen.dart | 59 ++++++++++++++++----------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/lib/screens/results_screen.dart b/lib/screens/results_screen.dart index 2300c07..e123dcf 100644 --- a/lib/screens/results_screen.dart +++ b/lib/screens/results_screen.dart @@ -113,41 +113,40 @@ class _ResultsScreenState extends State { bottomNavigationBar: BottomAppBar( color: Colors.transparent, child: SafeArea( - child: SingleChildScrollView( - child: Column( - mainAxisSize: MainAxisSize.min, - children: [ - SwitchListTile( - title: Text("Save Progress"), - value: saveProgress, - onChanged: (rounds > 0) - ? (bool value) { - setState(() { - saveProgress = value; - }); - } - : null, - activeColor: Colors.teal, - ), - SizedBox( - width: double.infinity, - height: 52, - child: TextButton( - onPressed: () { - _handleClose(); - context.go('/home'); - }, - child: Text( - 'Close', - style: BreezeStyle.bodyBig - ), + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + SwitchListTile( + title: Text("Save Progress"), + value: saveProgress, + onChanged: (rounds > 0) + ? (bool value) { + setState(() { + saveProgress = value; + }); + } + : null, + activeColor: Colors.teal, + ), + SizedBox( + width: double.infinity, + height: 52, + child: TextButton( + onPressed: () { + _handleClose(); + context.go('/home'); + }, + child: Text( + 'Close', + style: BreezeStyle.bodyBig ), ), - ], - ), + ), + ], ), ), ), + ); } }