Skip to content

Commit

Permalink
Refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Apr 22, 2021
1 parent 7205061 commit e788108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/route/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AboutScreen extends StatelessWidget {
style: Theme
.of(context)
.textTheme
.headline,
.headline5,
textAlign: TextAlign.center,
),
),
Expand Down Expand Up @@ -89,7 +89,7 @@ class _ContributorCard extends StatelessWidget {
await launch(url);
} else {
final snackBar = SnackBar(content: Text('Could not open link.'));
Scaffold.of(context).showSnackBar(snackBar);
ScaffoldMessenger.of(context).showSnackBar(snackBar);
}
}

Expand Down

0 comments on commit e788108

Please sign in to comment.