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() {
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),
),
],
],
);
}