Sfoglia il codice sorgente

去除蓝牙打印默认字号配置

ChengJH 1 anno fa
parent
commit
2d4dc4b50f

+ 0 - 3
app/src/main/java/com/uas/xmx_uas_mes_standard/util/PrintUtils.java

@@ -62,9 +62,6 @@ public class PrintUtils {
                                     if ("BAR_BATCHCODE".equals(printKey)) {
                                         textFont = 7;
                                     }
-                                    if (StringUtil.isEmpty(String.valueOf(fontSize))){
-                                        fontSize=1;
-                                    }
                                     printHelper = printHelper.printText(printText)
 //                                            .setTextAutLine("0","0",100,fontSize,false,false,printText)
                                             .setX(printX)

+ 2 - 2
build.gradle

@@ -50,8 +50,8 @@ ext {
             targetSdkVersion : 28,
             compileSdkVersion: 28,
             buildToolsVersion: "28.0.3",
-            versionCode      : 18,
-            versionName      : "v1.6.3"
+            versionCode      : 19,
+            versionName      : "v1.6.4"
     ]
 
     depsVersion = [