Browse Source

fix(button): 移除 abc icon #0014393

gavin.chen 1 year ago
parent
commit
ba41184422
1 changed files with 4 additions and 13 deletions
  1. 4 13
      lib/view/mobile_view/mobile_right_panel/mobile_annotation_tool.dart

+ 4 - 13
lib/view/mobile_view/mobile_right_panel/mobile_annotation_tool.dart

@@ -142,8 +142,8 @@ class _MobileAnnotationSelectorState extends State<MobileAnnotationSelector> {
         mainAxisAlignment: MainAxisAlignment.center,
         children: [
           InkWell(
-            child: _buildModeBtn(
-                !isArrowMode, i18nBook.measure.text.t, Icons.abc, true),
+            child: _buildModeBtn(!isArrowMode, i18nBook.measure.text.t,
+                Icons.insert_comment, true),
             onTap: () {
               if (measureHandler.changedAnnotationType !=
                   AnnotationType.label) {
@@ -199,17 +199,8 @@ class _MobileAnnotationSelectorState extends State<MobileAnnotationSelector> {
         horizontal: 4,
         vertical: 4,
       ),
-      child: Row(
-        children: [
-          Icon(
-            iconData,
-            color: ifActive ? Colors.white : Colors.grey,
-          ),
-          const FSizedBox(
-            width: 6,
-          ),
-          Text(text, style: ifActive ? activeStyle : style),
-        ],
+      child: Center(
+        child: Text(text, style: ifActive ? activeStyle : style),
       ),
     );
   }