Skip to content

Commit

Permalink
修改打印
Browse files Browse the repository at this point in the history
  • Loading branch information
song.chao committed Jan 31, 2024
1 parent 12bc74a commit 065fcec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) {
private void getUsePrinterSdkVersion(EventChannel.EventSink events) {
Map<String, Object> result = new HashMap<String, Object>();
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 {
Expand Down

0 comments on commit 065fcec

Please sign in to comment.