Explorar o código

[fix]修复谈话新增模板问题

zk hai 1 ano
pai
achega
941a3043e5

BIN=BIN
assets/images/icon_triangular.webp


+ 0 - 1
lib/module/talk/summary/controller.dart

@@ -59,7 +59,6 @@ class SummaryController extends BaseController {
   }
 
   Future<void> _checkShowGuide() async {
-    debugPrint('checkShowGuide');
     if (addTemplateKey.currentContext == null) {
       return;
     }

+ 5 - 2
lib/popup/talk_add_template_popup.dart

@@ -26,8 +26,11 @@ void talkAddTemplatePopup(BuildContext context) {
             width: 146.w,
             child: Align(
               alignment: const Alignment(0.4, 0),
-              child:
-                  Assets.images.iconTriangular.image(width: 18.w, height: 8.w),
+              child: SizedBox(
+                  height: 8.h,
+                  child: AspectRatio(
+                      aspectRatio: 60 / 24,
+                      child: Assets.images.iconTriangular.image())),
             ),
           ),
           Container(