Skip to content

Commit

Permalink
Update year in about us dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Nov 20, 2023
1 parent 29a6839 commit 9802a52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/widgets/core/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class _AboutPageState extends State<AboutPage> {
Widget build(BuildContext context) {
final deviceSize = MediaQuery.of(context).size;
final authProvider = Provider.of<AuthProvider>(context, listen: false);
final today = DateTime.now();

return Scaffold(
appBar: AppBar(
Expand Down Expand Up @@ -79,7 +80,7 @@ class _AboutPageState extends State<AboutPage> {
Padding(
padding: EdgeInsets.only(left: 0.225 * deviceSize.width),
child: Text(
'\u{a9} 2020 - 2021 contributors',
'\u{a9} 2020 - ${today.year} contributors',
style: Theme.of(context).textTheme.bodySmall,
),
),
Expand Down

0 comments on commit 9802a52

Please sign in to comment.