From 9919f9038f90c054bdc84694b61ebf29977ae37c Mon Sep 17 00:00:00 2001 From: lollipopkit Date: Mon, 20 May 2024 16:56:37 +0800 Subject: [PATCH] fix: flutter 3.22 multi-dex --- .../app/FlutterMultiDexApplication.java | 25 ------------------- lib/view/page/server/detail/view.dart | 2 +- 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java diff --git a/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java b/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java deleted file mode 100644 index 752fc185..00000000 --- a/android/app/src/main/java/io/flutter/app/FlutterMultiDexApplication.java +++ /dev/null @@ -1,25 +0,0 @@ -// Generated file. -// -// If you wish to remove Flutter's multidex support, delete this entire file. -// -// Modifications to this file should be done in a copy under a different name -// as this file may be regenerated. - -package io.flutter.app; - -import android.app.Application; -import android.content.Context; -import androidx.annotation.CallSuper; -import androidx.multidex.MultiDex; - -/** - * Extension of {@link android.app.Application}, adding multidex support. - */ -public class FlutterMultiDexApplication extends Application { - @Override - @CallSuper - protected void attachBaseContext(Context base) { - super.attachBaseContext(base); - MultiDex.install(this); - } -} diff --git a/lib/view/page/server/detail/view.dart b/lib/view/page/server/detail/view.dart index bd94f735..b553f136 100644 --- a/lib/view/page/server/detail/view.dart +++ b/lib/view/page/server/detail/view.dart @@ -422,7 +422,7 @@ class _ServerDetailPageState extends State textAlign: TextAlign.center, ), subtitle: Text( - '${item.power} - ${item.fanSpeed} RPM\n${mem.used} / ${mem.total} ${mem.unit}', + '${item.power} - FAN ${item.fanSpeed}%\n${mem.used} / ${mem.total} ${mem.unit}', style: UIs.text12Grey, textScaler: _textFactor, ),