Browse Source

修改打电话

newdev_shunjiawei
tanlongsheng 1 year ago
parent
commit
cd533e700f
  1. 2
      lib/data/services/novice_guide_service.dart
  2. 2
      lib/modules/agent/views/agent_view.dart

2
lib/data/services/novice_guide_service.dart

@ -25,7 +25,7 @@ class NoviceGuideService extends GetxService {
void startAIGuide() async { void startAIGuide() async {
if (!isAIGuide) { if (!isAIGuide) {
await Future.delayed(const Duration(milliseconds: 100)); await Future.delayed(const Duration(milliseconds: 200));
isAIGuide = true; isAIGuide = true;
_storage.write('ai_guide', true); _storage.write('ai_guide', true);
Intro.of(Get.context!).start(group: 'ai'); Intro.of(Get.context!).start(group: 'ai');

2
lib/modules/agent/views/agent_view.dart

@ -934,7 +934,6 @@ class _AgentViewState extends State<AgentView> with WidgetsBindingObserver {
Widget _buildPhoneCallOverlay(BuildContext context, bool isDarkMode) { Widget _buildPhoneCallOverlay(BuildContext context, bool isDarkMode) {
return Container( return Container(
color: Colors.transparent, // 设置整个覆盖层为透明 color: Colors.transparent, // 设置整个覆盖层为透明
child: SafeArea(
child: Column( child: Column(
children: [ children: [
// 中间空白区域 - 完全透明 // 中间空白区域 - 完全透明
@ -949,7 +948,6 @@ class _AgentViewState extends State<AgentView> with WidgetsBindingObserver {
), ),
], ],
), ),
),
); );
} }

Loading…
Cancel
Save