From d7fbb74bf88fb7e84a69d831470573adf2f7ee83 Mon Sep 17 00:00:00 2001 From: qzl Date: Thu, 12 Mar 2026 13:57:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(home):=20=E7=A7=BB=E9=99=A4=E6=8C=89?= =?UTF-8?q?=E4=BD=8F=E8=AF=B4=E8=AF=9D=E6=A8=A1=E5=BC=8F=E4=B8=8B=E7=9A=84?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E6=8F=90=E7=A4=BA=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/lib/features/home/ui/screens/home_screen.dart | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/apps/lib/features/home/ui/screens/home_screen.dart b/apps/lib/features/home/ui/screens/home_screen.dart index a4699be..cca2148 100644 --- a/apps/lib/features/home/ui/screens/home_screen.dart +++ b/apps/lib/features/home/ui/screens/home_screen.dart @@ -858,12 +858,14 @@ class _HomeScreenState extends State Widget _buildHoldToSpeakHint() { return Column( children: [ - if (_isRecording) _buildRecordingAnimation(), - const SizedBox(height: 4), - Text( - _isRecording ? '松开发送,上滑取消' : '按住说话', - style: const TextStyle(fontSize: 12, color: AppColors.slate500), - ), + if (_isRecording) ...[ + _buildRecordingAnimation(), + const SizedBox(height: 4), + const Text( + '松开发送,上滑取消', + style: TextStyle(fontSize: 12, color: AppColors.slate500), + ), + ], ], ); }