Skip to content

Commit

Permalink
increase close button size
Browse files Browse the repository at this point in the history
  • Loading branch information
waozixyz committed Nov 24, 2023
1 parent 94641af commit c0bdefb
Showing 1 changed file with 30 additions and 33 deletions.
63 changes: 30 additions & 33 deletions lib/screens/results_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,42 +111,39 @@ class _ResultsScreenState extends State<ResultsScreen> {
),
bottomNavigationBar: BottomAppBar(
color: Colors.transparent,
child: SizedBox(
height: 84,
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(
height: 42,
child: SwitchListTile(
title: Text("Save Progress"),
value: saveProgress,
onChanged: (rounds > 0)
? (bool value) {
setState(() {
saveProgress = value;
});
}
: null,
activeColor: Colors.teal,
),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(
height: 42,
child: SwitchListTile(
title: Text("Save Progress"),
value: saveProgress,
onChanged: (rounds > 0)
? (bool value) {
setState(() {
saveProgress = value;
});
}
: null,
activeColor: Colors.teal,
),
SizedBox(
width: double.infinity,
height: 42,
child: TextButton(
onPressed: () {
_handleClose();
context.go('/home');
},
child: Text(
'Close',
style: BreezeStyle.bodyBig
),
),
SizedBox(
width: double.infinity,
height: 52,
child: TextButton(
onPressed: () {
_handleClose();
context.go('/home');
},
child: Text(
'Close',
style: BreezeStyle.bodyBig
),
),
],
),
),
],
),
),
);
Expand Down

0 comments on commit c0bdefb

Please sign in to comment.