fix: 1、进入修改国际化语言界面重启APP界面变灰问题。2、wifi密码输错一次再次提交没反应的问题
This commit is contained in:
parent
de24d8b3fb
commit
2636f19619
@ -86,8 +86,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver, BaseWidget {
|
||||
locale: StoreService.to.getLanguageCode()!.isNotEmpty
|
||||
? appDept.deptSupportedLocales
|
||||
.where((Locale element) =>
|
||||
element.languageCode.toString() ==
|
||||
StoreService.to.getLanguageCode())
|
||||
element.toString() == StoreService.to.getLanguageCode())
|
||||
.first
|
||||
: Get.deviceLocale,
|
||||
// locale: Get.deviceLocale,
|
||||
|
||||
@ -88,10 +88,10 @@ class GatewayConfigurationWifiLogic extends BaseGetXController {
|
||||
// WIFI配网结果
|
||||
Future<void> _replySenderConfiguringWifiResult(Reply reply) async {
|
||||
final int status = reply.data[2];
|
||||
state.sureBtnState.value = 0;
|
||||
switch (status) {
|
||||
case 0x00:
|
||||
//成功
|
||||
state.sureBtnState.value = 0;
|
||||
cancelBlueConnetctToastTimer();
|
||||
dismissEasyLoading();
|
||||
final int secretKeyJsonLength = (reply.data[3] << 8) + reply.data[4];
|
||||
|
||||
@ -39,8 +39,7 @@ String getLanguageCode() {
|
||||
final Locale locale = StoreService.to.getLanguageCode()!.isNotEmpty
|
||||
? appDept.deptSupportedLocales
|
||||
.where((Locale element) =>
|
||||
element.languageCode.toString() ==
|
||||
StoreService.to.getLanguageCode())
|
||||
element.toString() == StoreService.to.getLanguageCode())
|
||||
.first
|
||||
: Get.locale!; // Get.deviceLocale;
|
||||
String languageCode =
|
||||
|
||||
@ -104,7 +104,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# 1.0.85+2024120301:完善网关功能
|
||||
# 1.0.85+2024120401:修复网关问题,打包给谢敬调试
|
||||
|
||||
version: 1.0.85+2024121201
|
||||
version: 1.0.85+2024121301
|
||||
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user