Skip to content

Commit 9802a52

Browse files
committed
Update year in about us dialog
1 parent 29a6839 commit 9802a52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/core/about.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class _AboutPageState extends State<AboutPage> {
3636
Widget build(BuildContext context) {
3737
final deviceSize = MediaQuery.of(context).size;
3838
final authProvider = Provider.of<AuthProvider>(context, listen: false);
39+
final today = DateTime.now();
3940

4041
return Scaffold(
4142
appBar: AppBar(
@@ -79,7 +80,7 @@ class _AboutPageState extends State<AboutPage> {
7980
Padding(
8081
padding: EdgeInsets.only(left: 0.225 * deviceSize.width),
8182
child: Text(
82-
'\u{a9} 2020 - 2021 contributors',
83+
'\u{a9} 2020 - ${today.year} contributors',
8384
style: Theme.of(context).textTheme.bodySmall,
8485
),
8586
),

0 commit comments

Comments
 (0)