Skip to content

Commit

Permalink
proper years setting
Browse files Browse the repository at this point in the history
  • Loading branch information
moovida committed Jun 26, 2024
1 parent 5ef7fbe commit 241d0bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/eu/hydrologis/smash/widgets/about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class AboutPageState extends State<AboutPage> {
@override
Widget build(BuildContext context) {
String? version = _version;
var thisYear = DateTime.now().year;

return _version == null
? SmashCircularProgress(
Expand Down Expand Up @@ -95,9 +96,8 @@ class AboutPageState extends State<AboutPage> {
title: Text(SL
.of(context)
.about_legalInformation), //"Legal Information"
subtitle: Text(SL
.of(context)
.about_copyright2020HydroloGIS), //"Copyright 2020, HydroloGIS S.r.l. - some rights reserved. Tap to visit."
subtitle: Text(
"Copyright 2018-$thisYear, HydroloGIS S.r.l. - some rights reserved. Tap to visit."),
onTap: () async {
if (await canLaunchUrlString(
"http://www.hydrologis.com")) {
Expand Down

0 comments on commit 241d0bd

Please sign in to comment.