From 065fcecd6a4ac3c8f78ff39cadbeda08025988a0 Mon Sep 17 00:00:00 2001 From: "song.chao" Date: Wed, 31 Jan 2024 12:02:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/imin/printer/imin_printer/IminPrinterPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/imin/printer/imin_printer/IminPrinterPlugin.java b/android/src/main/java/com/imin/printer/imin_printer/IminPrinterPlugin.java index 6955e3c..e5c0129 100644 --- a/android/src/main/java/com/imin/printer/imin_printer/IminPrinterPlugin.java +++ b/android/src/main/java/com/imin/printer/imin_printer/IminPrinterPlugin.java @@ -1152,7 +1152,7 @@ public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) { private void getUsePrinterSdkVersion(EventChannel.EventSink events) { Map result = new HashMap(); result.put("action", "printer_sdk_version"); - if (Build.MODEL.equals("W27_Pro") || Build.MODEL.equals("I23D01") || || Build.MODEL.equals("I23M01") || Build.MODEL.equals("I23M02")) { + if (Build.MODEL.equals("W27_Pro") || Build.MODEL.equals("I23D01") || Build.MODEL.equals("I23M01") || Build.MODEL.equals("I23M02")) { //初始化 2.0 的 SDK。 result.put("status", true); } else {