From 31bb8a040d4c0844ce61051bcda5f79d9aff5542 Mon Sep 17 00:00:00 2001 From: RainVisitor Date: Thu, 2 Jul 2020 15:02:58 +0800 Subject: [PATCH] Update to v3.4.2 --- lib/pages/setting_page.dart | 2 +- lib/utils/app_localizations.dart | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/pages/setting_page.dart b/lib/pages/setting_page.dart index 5653b040..c6c23542 100644 --- a/lib/pages/setting_page.dart +++ b/lib/pages/setting_page.dart @@ -261,7 +261,7 @@ class SettingPageState extends State { packageInfo = await PackageInfo.fromPlatform(); setState(() { isOffline = Preferences.getBool(Constants.PREF_IS_OFFLINE_LOGIN, false); - appVersion = packageInfo?.version ?? '3.4.0'; + appVersion = packageInfo?.version ?? '3.4.2'; courseNotify = Preferences.getBool(Constants.PREF_COURSE_NOTIFY, false); displayPicture = Preferences.getBool(Constants.PREF_DISPLAY_PICTURE, true); diff --git a/lib/utils/app_localizations.dart b/lib/utils/app_localizations.dart index 19ac2957..2251d5df 100644 --- a/lib/utils/app_localizations.dart +++ b/lib/utils/app_localizations.dart @@ -23,7 +23,7 @@ class AppLocalizations { 'en': { 'app_name': 'NKUST AP', 'update_note_content': - '* New course table UI.\n* Course add to calendar app.\n* Dynamic change theme align system.\n* Fix token expire problem.\n*Course notify can pick particular section.\n*Update school schedule.\n*Classroom coursetalbe Search.\n*Bus Violation Records.', + '* Remove event checkout.\n* Add Bus rule english version.\n* Fix bug.', 'about_open_source_content': 'https://github.com/NKUST-ITC/NKUST-AP-Flutter\n\nThis project is licensed under the terms of the MIT license:\nThe MIT License (MIT)\n\nCopyright © 2018 Rainvisitor\n\nThis project is Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.', 'bus_pick_date': 'Chosen Date: %s', @@ -147,7 +147,7 @@ class AppLocalizations { 'zh': { 'app_name': '高科校務通', 'update_note_content': - '* 全新課表介面\n* 課表可加入行事曆App\n* 可隨著系統調整主題\n* 修正憑證過期問題.\n* 上課通知可單選特定課程\n* 更新學校行事曆\n* 教室課表查詢\n* 校車罰緩', + '* 移除上課打卡\n* 新增英文版校車規則.\n* 修復部分錯誤.', 'about_open_source_content': 'https://github.com/NKUST-ITC/NKUST-AP-Flutter\n\n本專案採MIT 開放原始碼授權:\nThe MIT License (MIT)\n\nCopyright © 2020 Rainvisitor\n\nThis project is Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.', 'bus_pick_date': '選擇乘車時間:%s', diff --git a/pubspec.yaml b/pubspec.yaml index 9fd41d25..d5a27d84 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: nkust_ap description: A new Flutter application. -version: 3.4.1+30401 +version: 3.4.2+30402 environment: sdk: ">=2.6.0 <3.0.0"