diff --git a/ios/Flutter/flutter_export_environment.sh b/ios/Flutter/flutter_export_environment.sh index 7f2f3c40..c714a9c2 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.2.11" -export "FLUTTER_BUILD_NUMBER=30211" +export "FLUTTER_BUILD_NAME=3.3.0" +export "FLUTTER_BUILD_NUMBER=30300" diff --git a/lib/main.dart b/lib/main.dart index 7cd7cf0b..bfbbb278 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -12,7 +12,6 @@ import 'package:nkust_ap/res/app_icon.dart'; import 'package:nkust_ap/res/app_theme.dart'; import 'package:nkust_ap/utils/preferences.dart'; - void main() async { bool isInDebugMode = Constants.isInDebugMode; await Preferences.init(); @@ -22,7 +21,7 @@ void main() async { Preferences.getString(Constants.PREF_THEME_CODE, AppTheme.LIGHT); if (kIsWeb) { } else if (Platform.isIOS || Platform.isAndroid) { - Crashlytics.instance.enableInDevMode = true; + Crashlytics.instance.enableInDevMode = isInDebugMode; // Pass all uncaught errors from the framework to Crashlytics. FlutterError.onError = Crashlytics.instance.recordFlutterError; } else { @@ -45,4 +44,4 @@ void _setTargetPlatformForDesktop() { if (targetPlatform != null) { debugDefaultTargetPlatformOverride = targetPlatform; } -} \ No newline at end of file +} diff --git a/lib/utils/app_localizations.dart b/lib/utils/app_localizations.dart index 57114982..e30446cd 100644 --- a/lib/utils/app_localizations.dart +++ b/lib/utils/app_localizations.dart @@ -568,7 +568,7 @@ class AppLocalizations { 'other_info': '其他資訊', 'other_settings': '其他設定', 'head_photo_setting': '顯示大頭貼', - 'head_photo_setting_sub_title': '測選單是否顯示大頭貼', + 'head_photo_setting_sub_title': '側選單是否顯示大頭貼', 'course_notify': '上課提醒', 'course_notify_sub_title': '上課前十分鐘提醒', 'course_vibrate': '上課震動', diff --git a/pubspec.yaml b/pubspec.yaml index 72509343..72155acb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: nkust_ap description: A new Flutter application. -version: 3.2.11+30211 +version: 3.3.0+30300 environment: sdk: ">=2.2.2 <3.0.0"