From 493f22b955231f54d00538c00e4322f2ba9a7617 Mon Sep 17 00:00:00 2001 From: ZV Dev Date: Fri, 23 Oct 2026 20:00:09 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=86=85=E5=85=A8=E9=83=A8=E8=A1=A8=E6=83=85=E7=AC=A6=E5=8F=B7?= =?UTF-8?q?=EF=BC=8C=E7=BB=9F=E4=B8=80=E4=BD=BF=E7=94=A8=20Material=20?= =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/core/widgets/user_agreement_dialog.dart | 2 +- lib/features/dashboard/dashboard_page.dart | 2 +- lib/features/settings/help_page.dart | 9 ++++----- lib/features/settings/settings_page.dart | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/core/widgets/user_agreement_dialog.dart b/lib/core/widgets/user_agreement_dialog.dart index 6bbccd4..5076826 100644 --- a/lib/core/widgets/user_agreement_dialog.dart +++ b/lib/core/widgets/user_agreement_dialog.dart @@ -69,7 +69,7 @@ class _UserAgreementDialogState extends State { mainAxisSize: MainAxisSize.min, children: [ // 图标 - const Text('📜', style: TextStyle(fontSize: 48)), + const Icon(Icons.menu_book_outlined, size: 48), const SizedBox(height: 12), // 标题 diff --git a/lib/features/dashboard/dashboard_page.dart b/lib/features/dashboard/dashboard_page.dart index fb73100..19da434 100644 --- a/lib/features/dashboard/dashboard_page.dart +++ b/lib/features/dashboard/dashboard_page.dart @@ -90,7 +90,7 @@ class _DashboardPageState extends State { children: [ const Icon(Icons.warning_amber_rounded, color: Colors.white), const SizedBox(width: 8), - Expanded(child: Text('⚠️ 服务器「$serverName」已断开连接!')), + Expanded(child: Text('服务器「$serverName」已断开连接!')), ], ), action: SnackBarAction( diff --git a/lib/features/settings/help_page.dart b/lib/features/settings/help_page.dart index 92aeb95..e27713a 100644 --- a/lib/features/settings/help_page.dart +++ b/lib/features/settings/help_page.dart @@ -69,7 +69,7 @@ class HelpPage extends StatelessWidget { '下载完成且配置了 SSH 时,会自动上传到服务器的 mods/plugins 目录', ], tips: [ - '国内网络慢时:点右上角 ⚡ 图标 →「一键测速并选择最快线路」,或改用自定义镜像地址', + '国内网络慢时:点右上角测速图标 →「一键测速并选择最快线路」,或改用自定义镜像地址', '默认使用 MCIM 国内镜像,无需科学上网', ], ), @@ -92,11 +92,11 @@ class HelpPage extends StatelessWidget { icon: Icons.account_tree, title: '六、依赖仓库(查询模组依赖)', steps: [ - '进入「模组」页签 → 右上角 ⚙ 依赖仓库', + '进入「模组」页签 → 右上角依赖仓库', '点「同步」扫描服务器 mods/plugins,建立本地依赖索引', '点击任意模组查看:它依赖什么、被谁依赖、缺失哪些依赖', '缺失依赖可一键从 Modrinth 下载补齐', - '点右上角 ⚠ 可检测重复安装 / 版本冲突的 jar', + '点右上角重复检测按钮重复安装 / 版本冲突的 jar', ], ), _TutorialCard( @@ -184,8 +184,7 @@ class _TutorialCard extends StatelessWidget { children: tips .map((t) => Padding( padding: const EdgeInsets.symmetric(vertical: 2), - child: Text('💡 $t', - style: theme.textTheme.bodySmall), + child: Text(t, style: theme.textTheme.bodySmall), )) .toList(), ), diff --git a/lib/features/settings/settings_page.dart b/lib/features/settings/settings_page.dart index 4aa1742..4c145d9 100644 --- a/lib/features/settings/settings_page.dart +++ b/lib/features/settings/settings_page.dart @@ -216,7 +216,7 @@ class _SettingsPageState extends State { if (mounted) { ScaffoldMessenger.of(context).showSnackBar( SnackBar( - content: Text(_currentBgPath == null ? '已清除背景' : '背景已更新 ✅'), + content: Text(_currentBgPath == null ? '已清除背景' : '背景已更新 '), duration: const Duration(seconds: 1), ), );