Skip to content

Commit

Permalink
Fix green pass screen layout overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffsieu committed Jul 1, 2021
1 parent 0737265 commit d3c344a
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions lib/screens/green_pass_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,19 @@ class _GreenPassScreenState extends State<GreenPassScreen> {
backgroundColor: context.getBackgroundColor(secondsLeft),
elevation: 0,
),
body: Container(
color: context.getBackgroundColor(secondsLeft),
child: Center(
child: Column(
children: [
_buildIcon(context, secondsLeft),
Text(
'$secondsLeft',
style: Theme.of(context).textTheme.headline3,
),
],
body: SingleChildScrollView(
child: Container(
color: context.getBackgroundColor(secondsLeft),
child: Center(
child: Column(
children: [
_buildIcon(context, secondsLeft),
Text(
'$secondsLeft',
style: Theme.of(context).textTheme.headline3,
),
],
),
),
),
),
Expand Down

0 comments on commit d3c344a

Please sign in to comment.