Skip to content

Commit

Permalink
new attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
waozixyz committed Nov 24, 2023
1 parent cd4ddbc commit 75be5cb
Showing 1 changed file with 29 additions and 30 deletions.
59 changes: 29 additions & 30 deletions lib/screens/results_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,41 +113,40 @@ class _ResultsScreenState extends State<ResultsScreen> {
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
),
),
],
),
),
],
),
),
),

);
}
}

0 comments on commit 75be5cb

Please sign in to comment.