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
|
locale: StoreService.to.getLanguageCode()!.isNotEmpty
|
||||||
? appDept.deptSupportedLocales
|
? appDept.deptSupportedLocales
|
||||||
.where((Locale element) =>
|
.where((Locale element) =>
|
||||||
element.languageCode.toString() ==
|
element.toString() == StoreService.to.getLanguageCode())
|
||||||
StoreService.to.getLanguageCode())
|
|
||||||
.first
|
.first
|
||||||
: Get.deviceLocale,
|
: Get.deviceLocale,
|
||||||
// locale: Get.deviceLocale,
|
// locale: Get.deviceLocale,
|
||||||
|
|||||||
@ -88,10 +88,10 @@ class GatewayConfigurationWifiLogic extends BaseGetXController {
|
|||||||
// WIFI配网结果
|
// WIFI配网结果
|
||||||
Future<void> _replySenderConfiguringWifiResult(Reply reply) async {
|
Future<void> _replySenderConfiguringWifiResult(Reply reply) async {
|
||||||
final int status = reply.data[2];
|
final int status = reply.data[2];
|
||||||
|
state.sureBtnState.value = 0;
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case 0x00:
|
case 0x00:
|
||||||
//成功
|
//成功
|
||||||
state.sureBtnState.value = 0;
|
|
||||||
cancelBlueConnetctToastTimer();
|
cancelBlueConnetctToastTimer();
|
||||||
dismissEasyLoading();
|
dismissEasyLoading();
|
||||||
final int secretKeyJsonLength = (reply.data[3] << 8) + reply.data[4];
|
final int secretKeyJsonLength = (reply.data[3] << 8) + reply.data[4];
|
||||||
|
|||||||
@ -39,8 +39,7 @@ String getLanguageCode() {
|
|||||||
final Locale locale = StoreService.to.getLanguageCode()!.isNotEmpty
|
final Locale locale = StoreService.to.getLanguageCode()!.isNotEmpty
|
||||||
? appDept.deptSupportedLocales
|
? appDept.deptSupportedLocales
|
||||||
.where((Locale element) =>
|
.where((Locale element) =>
|
||||||
element.languageCode.toString() ==
|
element.toString() == StoreService.to.getLanguageCode())
|
||||||
StoreService.to.getLanguageCode())
|
|
||||||
.first
|
.first
|
||||||
: Get.locale!; // Get.deviceLocale;
|
: Get.locale!; // Get.deviceLocale;
|
||||||
String languageCode =
|
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+2024120301:完善网关功能
|
||||||
# 1.0.85+2024120401:修复网关问题,打包给谢敬调试
|
# 1.0.85+2024120401:修复网关问题,打包给谢敬调试
|
||||||
|
|
||||||
version: 1.0.85+2024121201
|
version: 1.0.85+2024121301
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.12.0 <3.0.0'
|
sdk: '>=2.12.0 <3.0.0'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user