diff --git a/lib/modules/agent/views/agent_view.dart b/lib/modules/agent/views/agent_view.dart index 07840261e..de44eccd2 100644 --- a/lib/modules/agent/views/agent_view.dart +++ b/lib/modules/agent/views/agent_view.dart @@ -92,7 +92,7 @@ class _AgentViewState extends State with WidgetsBindingObserver { ], ), child: Icon( - Icons.smart_toy_outlined, + Icons.support_agent, color: Colors.white, size: 22.sp, ), @@ -342,11 +342,7 @@ class _AgentViewState extends State with WidgetsBindingObserver { overlayBuilder: (params) { return IntroOverlayBuilder.aiBuilder( params, - controller - .noviceGuideService - .aiStepsList[controller - .noviceGuideService - .aiStep]['endKey'] + '${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['endKey']}' .tr, onFinish: () async { if (controller @@ -638,29 +634,17 @@ class _AgentViewState extends State with WidgetsBindingObserver { overlayBuilder: (params) { return IntroOverlayBuilder.aiBuilder( params, - controller - .noviceGuideService - .aiStepsList[controller - .noviceGuideService - .aiStep]['startKey'] + '${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['startKey']}' .tr, buttonText: 'confirmInput'.tr, onNext: () { controller.textController.text = - controller - .noviceGuideService - .aiStepsList[controller - .noviceGuideService - .aiStep]['inputKey'] + '${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['inputKey']}' .tr; }, onTap: () { controller.textController.text = - controller - .noviceGuideService - .aiStepsList[controller - .noviceGuideService - .aiStep]['inputKey'] + '${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['inputKey']}' .tr; params.onNext!(); }, @@ -885,7 +869,7 @@ class _AgentViewState extends State with WidgetsBindingObserver { overlayBuilder: (params) { return IntroOverlayBuilder.aiBuilder( params, - '${'guideClickSendPrefix'.tr}${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['sendKey'].tr}', + '${'guideClickSendPrefix'.tr}${'${controller.noviceGuideService.aiStepsList[controller.noviceGuideService.aiStep]['sendKey']}'.tr}', alignment: false, onTap: () async { await controller diff --git a/pubspec.yaml b/pubspec.yaml index bd4d5021f..6a6fe9300 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: voitrans description: "Voitrans - AI Voice Assistant." publish_to: "none" -version: 1.0.19+62 +version: 1.0.20+67 environment: sdk: ">=3.3.0 <4.0.0"