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
Created by Mac on 2024/12/25.
*/
CFBundleName="StarLock";
CFBundleDisplayName="StarLock";
CFBundleName="TTLock Pro";
CFBundleDisplayName="TTLock Pro";
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";
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
Created by Mac on 2024/12/25.
*/
CFBundleName="锁";
CFBundleDisplayName="锁";
CFBundleName="锁通通";
CFBundleDisplayName="锁通通";
NSBluetoothAlwaysUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据";
NSBluetoothPeripheralUsageDescription="该应用程序使用蓝牙在不同设备之间查找、连接和传输数据";
NSCameraUsageDescription="应用请求相机,以便于拍摄照片,用于头像上传及人脸认证";

View File

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