fix(home): 移除按住说话模式下的重复提示文字

This commit is contained in:
qzl
2026-03-12 13:57:48 +08:00
parent 5e8d615f3b
commit d7fbb74bf8
@@ -858,12 +858,14 @@ class _HomeScreenState extends State<HomeScreen>
Widget _buildHoldToSpeakHint() { Widget _buildHoldToSpeakHint() {
return Column( return Column(
children: [ children: [
if (_isRecording) _buildRecordingAnimation(), if (_isRecording) ...[
const SizedBox(height: 4), _buildRecordingAnimation(),
Text( const SizedBox(height: 4),
_isRecording ? '松开发送,上滑取消' : '按住说话', const Text(
style: const TextStyle(fontSize: 12, color: AppColors.slate500), '松开发送,上滑取消',
), style: TextStyle(fontSize: 12, color: AppColors.slate500),
),
],
], ],
); );
} }