From 1767cf2547ca58102ba3734c06ae73ce85e646a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E7=A0=81=E5=B7=A5=E7=A8=8B=E5=B8=88?= Date: Thu, 20 Aug 2026 06:15:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(mobile-next):=20=E4=BF=AE=E5=A4=8D=E8=B5=84?= =?UTF-8?q?=E6=96=99=E9=A1=B5=20FeatureFlags=20=E5=AF=BC=E5=85=A5=E4=B8=8E?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=A2=84=E8=A7=88=20const?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 资料页相对导入少一层导致 FeatureFlags 无法解析;大图预览 Center 使用了非 const 的 Styles.c_0089FF。仅改这两处编译阻塞,不扩大格式化。 Co-authored-by: Cursor Co-authored-by: multica-agent Co-authored-by: Cursor --- .../user_profile_panel/personal_info/personal_info_view.dart | 2 +- .../lib/src/widgets/chat/chat_picture_preview.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile-next/lib/pages/contacts/user_profile_panel/personal_info/personal_info_view.dart b/mobile-next/lib/pages/contacts/user_profile_panel/personal_info/personal_info_view.dart index c22a664..fcc7e1f 100644 --- a/mobile-next/lib/pages/contacts/user_profile_panel/personal_info/personal_info_view.dart +++ b/mobile-next/lib/pages/contacts/user_profile_panel/personal_info/personal_info_view.dart @@ -3,7 +3,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:openim_common/openim_common.dart'; -import '../../../company/feature_flags.dart'; +import '../../../../company/feature_flags.dart'; import 'personal_info_logic.dart'; class PersonalInfoPage extends StatelessWidget { diff --git a/mobile-next/openim_common/lib/src/widgets/chat/chat_picture_preview.dart b/mobile-next/openim_common/lib/src/widgets/chat/chat_picture_preview.dart index bd53e24..baed2c6 100644 --- a/mobile-next/openim_common/lib/src/widgets/chat/chat_picture_preview.dart +++ b/mobile-next/openim_common/lib/src/widgets/chat/chat_picture_preview.dart @@ -94,7 +94,7 @@ class ChatPicturePreview extends StatelessWidget { return null; } - return const Center( + return Center( child: SizedBox( width: 24, height: 24,