diff --git a/lib/modules/agent/views/agent_view.dart b/lib/modules/agent/views/agent_view.dart index 07840261e..075ed4292 100644 --- a/lib/modules/agent/views/agent_view.dart +++ b/lib/modules/agent/views/agent_view.dart @@ -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