Skip to content

Commit

Permalink
更新版权年份
Browse files Browse the repository at this point in the history
  • Loading branch information
coldshineb committed Nov 15, 2024
1 parent eea2848 commit 6767998
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Pages/HomePage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class HomePageState extends State<HomePage> {
fontWeight: FontWeight.bold,
),
),
const Text(
Text(
Util.copyright,
style: TextStyle(
fontSize: 14.0,
Expand Down
6 changes: 4 additions & 2 deletions lib/Util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ import 'Preference.dart';
import 'main.dart';

class Util {
static int currentYear =
DateTime.now().month > 10 ? DateTime.now().year + 1 : DateTime.now().year;
static const String appVersion = '1.5.1';
static const String copyright =
'版权所有 © Calicy LLC 2022-2024 Gennokioku 原忆 2022-2024 Coldshine 2020-2024,由 Flutter 强力驱动';
static String copyright =
'版权所有 © Calicy LLC 2022-$currentYear Gennokioku 原忆 2022-$currentYear Coldshine 2020-$currentYear,由 Flutter 强力驱动';

//轨道交通标识
//如后续有修改,需要改 arrivalStationInfoBody.svg 以下内容
Expand Down

0 comments on commit 6767998

Please sign in to comment.