fix: 1、修复bug

This commit is contained in:
魏少阳 2024-12-26 16:26:00 +08:00
parent 5c351ccc7b
commit 2442e599b6
3 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,12 @@
/* /*
InfoPlist_xhj.strings InfoPlist_sky.strings
Runner Runner
Created by Mac on 2024/12/25. Created by Mac on 2024/12/25.
*/ */
CFBundleName="StarLock"; CFBundleName="TTLock Pro";
CFBundleDisplayName="StarLock"; CFBundleDisplayName="TTLock Pro";
NSBluetoothAlwaysUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices"; NSBluetoothAlwaysUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices";
NSBluetoothPeripheralUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices"; NSBluetoothPeripheralUsageDescription="The app uses bluetooth to find, connect and transfer data between different devices";
NSCameraUsageDescription="The application requests the camera to take photos for avatar upload and face authentication"; NSCameraUsageDescription="The application requests the camera to take photos for avatar upload and face authentication";

View File

@ -1,12 +1,12 @@
/* /*
InfoPlist_xhj.strings InfoPlist_sky.strings
Runner Runner
Created by Mac on 2024/12/25. Created by Mac on 2024/12/25.
*/ */
CFBundleName="锁"; CFBundleName="锁通通";
CFBundleDisplayName="锁"; CFBundleDisplayName="锁通通";
NSBluetoothAlwaysUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据"; NSBluetoothAlwaysUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据";
NSBluetoothPeripheralUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据"; NSBluetoothPeripheralUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据";
NSCameraUsageDescription="应用请求相机,以便于拍摄照片,用于头像上传及人脸认证"; NSCameraUsageDescription="应用请求相机,以便于拍摄照片,用于头像上传及人脸认证";

View File

@ -18,8 +18,8 @@ class CurrentLocaleTool {
.first .first
: Get.deviceLocale!; // Get.deviceLocale; : Get.deviceLocale!; // Get.deviceLocale;
final String languageCode = convertLocale(locale).toString(); final String languageCode = convertLocale(locale).toString();
AppLog.log( // AppLog.log(
'11111locale.toString(): ${locale.toString()} locale: $locale languageCode:$languageCode 从本地获取code:${StoreService.to.getLanguageCode()}'); // '11111locale.toString(): ${locale.toString()} locale: $locale languageCode:$languageCode 从本地获取code:${StoreService.to.getLanguageCode()}');
return languageCode; return languageCode;
} }
@ -35,8 +35,8 @@ class CurrentLocaleTool {
.first .first
: Get.deviceLocale!; // Get.deviceLocale; : Get.deviceLocale!; // Get.deviceLocale;
final Locale getLocale = convertLocale(locale); final Locale getLocale = convertLocale(locale);
AppLog.log( // AppLog.log(
'222locale.toString(): ${locale.toString()} locale: $locale getLocale:$getLocale 从本地获取code:${StoreService.to.getLanguageCode()}'); // '222locale.toString(): ${locale.toString()} locale: $locale getLocale:$getLocale 从本地获取code:${StoreService.to.getLanguageCode()}');
return getLocale; return getLocale;
} }