Skip to content

Commit

Permalink
Merge pull request #85 from NKUST-ITC/develop
Browse files Browse the repository at this point in the history
Update to v3.3.0
  • Loading branch information
abc873693 authored Nov 8, 2019
2 parents 9bdf3ae + 527d02a commit 2527185
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
5 changes: 2 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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 {
Expand All @@ -45,4 +44,4 @@ void _setTargetPlatformForDesktop() {
if (targetPlatform != null) {
debugDefaultTargetPlatformOverride = targetPlatform;
}
}
}
2 changes: 1 addition & 1 deletion lib/utils/app_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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': '上課震動',
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 2527185

Please sign in to comment.