fix(home): 移除按住说话模式下的重复提示文字
This commit is contained in:
@@ -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),
|
||||||
|
),
|
||||||
|
],
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user