Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #136 from CCXXXI/dev
Browse files Browse the repository at this point in the history
1.3.1+23
  • Loading branch information
CCXXXI authored Oct 25, 2021
2 parents 15e3231 + 612c840 commit cf7eaac
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
14 changes: 8 additions & 6 deletions lib/timetable/timetable_menu/timetable_menu_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ class TimetableMenuPage extends StatelessWidget {
user.id == null ? const Text('需先登录公共数据库') : null,
enabled: user.id != null,
trailing: const FaIcon(FontAwesomeIcons.fileExport),
onTap: Url.ics(
user.id!,
user.password!,
EcnuLogic.guessYear(DateTime.now()),
EcnuLogic.guessSemester(DateTime.now()),
).launch,
onTap: user.id == null
? null
: Url.ics(
user.id!,
user.password!,
EcnuLogic.guessYear(DateTime.now()),
EcnuLogic.guessSemester(DateTime.now()),
).launch,
),
ListTile(
title: const Text('壁纸'),
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/string.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import 'pangu.dart';
// record them manually
const appName = 'ECNU Timetable';
const packageName = 'io.github.ccxxxi.ecnu_timetable';
const version = '1.3.0';
const buildNumber = '22';
const version = '1.3.1';
const buildNumber = '23';

const release = '$packageName@$version+$buildNumber';

Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: 更美观更智能的ECNU课程表。
# Prevent the package from being accidentally published to pub.dev.
publish_to: "none"

version: 1.3.0+22
version: 1.3.1+23

environment:
sdk: ">=2.15.0-172.0.dev"
Expand Down Expand Up @@ -60,7 +60,7 @@ msix_config:
display_name: "ECNU Timetable"
publisher_display_name: "CCXXXI"
identity_name: "io.github.ccxxxi.ecnu-timetable"
msix_version: 1.3.0.22
msix_version: 1.3.1.23
logo_path: "assets/images/app_icon.png"

flutter:
Expand Down

0 comments on commit cf7eaac

Please sign in to comment.