From 414fe548bf3fd25887d1e19b452aac04fce66439 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Fri, 17 Mar 2023 11:25:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=88=AA=E5=B1=8F=E7=9B=91?= =?UTF-8?q?=E5=90=AC=20android=20=3D=3D=3D=E6=93=8D=E4=BD=9C=E7=AC=A6?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-usercapturescreen/utssdk/app-android/index.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uni-usercapturescreen/utssdk/app-android/index.uts b/uni_modules/uni-usercapturescreen/utssdk/app-android/index.uts index 2a99ed3..13fba35 100644 --- a/uni_modules/uni-usercapturescreen/utssdk/app-android/index.uts +++ b/uni_modules/uni-usercapturescreen/utssdk/app-android/index.uts @@ -84,7 +84,7 @@ export const onUserCaptureScreen : OnUserCaptureScreen = function (callback : Us listener = callback; let directory_screenshot : File; - if (Build.MANUFACTURER.toLowerCase() === "xiaomi") { + if (Build.MANUFACTURER.toLowerCase() == "xiaomi") { // @Suppress("DEPRECATION") directory_screenshot = new File(new File(Environment.getExternalStorageDirectory(), Environment.DIRECTORY_DCIM), "Screenshots"); } else { -- GitLab