diff --git a/lib/ui/app_shell.dart b/lib/ui/app_shell.dart index 92ec452..56210b1 100644 --- a/lib/ui/app_shell.dart +++ b/lib/ui/app_shell.dart @@ -458,11 +458,18 @@ class _AppShellState extends State { } } - /// 更新检查按钮:检测到新版本时叠加红色角标。 + /// 更新检查按钮。 + /// + /// 空闲态用环形箭头(检查更新,中文软件的通用语义); + /// 检测到新版本时换成下载图标并叠加红色角标,一眼可辨「有新版本可下载」。 Widget _updateBtn(Tokens t) { final UpdateInfo? info = _update; - final Widget btn = _iconBtn(t, Icons.system_update_alt, _openUpdate, - tooltip: info == null ? '检查更新' : '发现新版本 v${info.version}'); + final Widget btn = _iconBtn( + t, + info == null ? Icons.refresh : Icons.download, + _openUpdate, + tooltip: info == null ? '检查更新' : '发现新版本 v${info.version}', + ); if (info == null) return btn; return Badge(backgroundColor: t.danger, smallSize: 8, child: btn); } diff --git a/lib/ui/update_dialog.dart b/lib/ui/update_dialog.dart index 0976622..c5c441b 100644 --- a/lib/ui/update_dialog.dart +++ b/lib/ui/update_dialog.dart @@ -197,7 +197,7 @@ class _UpdateDialogState extends State { // 标题 Row( children: [ - Icon(Icons.system_update_alt, size: 21, color: t.accent), + Icon(Icons.download, size: 21, color: t.accent), const SizedBox(width: 8), Text('发现新版本 v${info.version}', style: TextStyle(color: t.text, fontSize: 17, fontWeight: FontWeight.w700)),