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