diff --git a/ios/Flutter/flutter_export_environment.sh b/ios/Flutter/flutter_export_environment.sh index bfa1a0f9..73270ee5 100755 --- a/ios/Flutter/flutter_export_environment.sh +++ b/ios/Flutter/flutter_export_environment.sh @@ -6,5 +6,5 @@ export "FLUTTER_TARGET=lib/main.dart" export "FLUTTER_BUILD_DIR=build" export "SYMROOT=${SOURCE_ROOT}/../build/ios" export "FLUTTER_FRAMEWORK_DIR=/Users/rainvisitor/development/flutter/bin/cache/artifacts/engine/ios-release" -export "FLUTTER_BUILD_NAME=3.3.1" -export "FLUTTER_BUILD_NUMBER=30301" +export "FLUTTER_BUILD_NAME=3.3.2" +export "FLUTTER_BUILD_NUMBER=30302" diff --git a/lib/utils/app_localizations.dart b/lib/utils/app_localizations.dart index e0bbf3f8..461e48b5 100644 --- a/lib/utils/app_localizations.dart +++ b/lib/utils/app_localizations.dart @@ -68,7 +68,7 @@ class AppLocalizations { 'app_name': 'NKUST AP', 'update_note_title': 'Update Notes', 'update_note_content': - '1.Release new API version(will clear old preference data).\n2.Add midterm warning page.\n3.Add reward and penalty page.\n4.Impove course page.\n5.Add feature leave apply.\n6.Fix some bug', + '1.Fix offline error', 'splash_content': '我們全都包了\n只剩下學校不包我們', 'share': 'Share', 'teacher_confirm_title': 'Are you a teacher?', @@ -429,7 +429,7 @@ class AppLocalizations { 'app_name': '高科校務通', 'update_note_title': '更新日誌', 'update_note_content': - '1.全新推出新的API(此更新會清除先前資料)\n2.新增期中預警\n3.新增獎懲紀錄\n4.改善課表顯示\n5.新增請假申請\n6.修正部分錯誤', + '1.修復離線登入錯誤', 'splash_content': '我們全都包了\n只剩下學校不包我們', 'share': '分享', 'teacher_confirm_title': '您是老師嗎?', diff --git a/lib/utils/utils.dart b/lib/utils/utils.dart index 789064c7..15c09286 100644 --- a/lib/utils/utils.dart +++ b/lib/utils/utils.dart @@ -58,9 +58,6 @@ class Utils { FA.logApiEvent(type, e.response.statusCode, message: e.message); if (e.response.statusCode == 401) { Utils.showToast(context, app.tokenExpiredContent); - if (mounted) - Navigator.popUntil( - context, ModalRoute.withName(Navigator.defaultRouteName)); } else { Utils.showToast(context, app.somethingError); } diff --git a/pubspec.yaml b/pubspec.yaml index e1a3fec2..cd436756 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: nkust_ap description: A new Flutter application. -version: 3.3.1+30301 +version: 3.3.2+30302 environment: sdk: ">=2.6.0 <3.0.0"