diff --git a/lib/main.dart b/lib/main.dart index e2d69ce3..317c33de 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -176,7 +176,7 @@ class MyApp extends StatelessWidget { home: (isFirst ?? true) ? GuidePage() : LoginPage(), builder: EasyLoading.init( builder: (context, widget) { - ScreenUtil.setContext(context); + // ScreenUtil.setContext(context); return MediaQuery( data: MediaQuery.of(context).copyWith( textScaleFactor: AppUtils.textScale(context), diff --git a/pubspec.lock b/pubspec.lock index da9a4262..c94e502b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -255,7 +255,7 @@ packages: name: flutter_screenutil url: "https://pub.flutter-io.cn" source: hosted - version: "5.3.1" + version: "5.0.0+1" flutter_smart_dialog: dependency: "direct main" description: @@ -307,7 +307,7 @@ packages: name: fluwx url: "https://pub.flutter-io.cn" source: hosted - version: "3.8.2+1" + version: "3.8.4+1" font_awesome_flutter: dependency: "direct main" description: @@ -701,12 +701,10 @@ packages: tpns_flutter_plugin: dependency: "direct main" description: - path: "." - ref: "V1.1.4" - resolved-ref: "9494908d3d974899dd6d8494a332b89998b5ac8b" - url: "https://github.com/TencentCloud/TPNS-Flutter-Plugin" - source: git - version: "1.1.4" + name: tpns_flutter_plugin + url: "https://pub.flutter-io.cn" + source: hosted + version: "1.1.0" transformer_page_view: dependency: transitive description: @@ -804,7 +802,7 @@ packages: name: video_player_web url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.7" + version: "2.0.8" wakelock: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 3b0c5729..d8d27303 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -19,14 +19,10 @@ dependencies: keframe: ^2.0.2 #滑动组件卡顿优化 - tpns_flutter_plugin: - git: - url: https://github.com/TencentCloud/TPNS-Flutter-Plugin - ref: V1.1.4 -# tpns_flutter_plugin: -# git: -# url: https://github.com/TencentCloud/TPNS-Flutter-Plugin -# ref: V1.1.6 + tpns_flutter_plugin: ^1.0.8 +# git: +# url: git://github.com/TencentCloud/TPNS-Flutter-Plugin +# ref: V1.1.4 like_button: ^2.0.2 cupertino_icons: ^1.0.2 @@ -49,7 +45,7 @@ dependencies: logger: ^1.0.0 android_intent_plus: ^1.0.2 - flutter_screenutil: ^5.0.0+2 + flutter_screenutil: ^5.0.0+1 bubble_tab_indicator: ^0.1.6 event_bus: ^2.0.0 @@ -98,7 +94,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter -# retrofit_generator: ^1.4.1+32 +# retrofit_generator: ^1.4.1+3 # build_runner: ^1.11.5 # json_serializable: ^3.5.1