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

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