修复语言
This commit is contained in:
@@ -141,7 +141,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
print("object");
|
||||
print("object1111");
|
||||
return LayoutBuilder(
|
||||
builder: (context, bodySize) => GestureDetector(
|
||||
// onTap: () => FocusScope.of(context).unfocus(),,
|
||||
@@ -1375,7 +1375,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
blueteethBindController.netType.value = 3;
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "设备连接超时,请点击刷新重试".tr,
|
||||
text: "设备连接超时,请重试".tr,
|
||||
textColor: themeController.currentColor.sc9,
|
||||
);
|
||||
FlutterBluePlus.stopScan();
|
||||
@@ -1509,7 +1509,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
} else {
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "设备连接失败,请点击刷新重试".tr,
|
||||
text: "设备连接超时,请重试".tr,
|
||||
textColor: themeController.currentColor.sc9,
|
||||
);
|
||||
}
|
||||
@@ -1517,7 +1517,7 @@ class _WifiPageState extends State<WifiPage> {
|
||||
blueteethBindController.blueConnectFlag.value = 1;
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "设备连接失败,请点击刷新重试".tr,
|
||||
text: "设备连接超时,请重试".tr,
|
||||
textColor: themeController.currentColor.sc9,
|
||||
);
|
||||
} finally {
|
||||
|
||||
@@ -549,7 +549,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
|
||||
widget.type['mac'],
|
||||
needSuccess: true);
|
||||
// return;
|
||||
}
|
||||
}
|
||||
if (!flag) {
|
||||
blueteethBindController
|
||||
.selectWifi
|
||||
@@ -653,7 +653,6 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
child: Row(
|
||||
mainAxisSize:
|
||||
@@ -1402,7 +1401,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
|
||||
blueteethBindController.netType.value = 3;
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "设备连接超时,请点击刷新重试".tr,
|
||||
text: "设备连接超时,请重试".tr,
|
||||
textColor: themeController.currentColor.sc9,
|
||||
);
|
||||
FlutterBluePlus.stopScan();
|
||||
@@ -1536,7 +1535,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
|
||||
} else {
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "设备连接失败,请点击刷新重试".tr,
|
||||
text: "设备连接超时,请重试".tr,
|
||||
textColor: themeController.currentColor.sc9,
|
||||
);
|
||||
}
|
||||
@@ -1544,7 +1543,7 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
|
||||
blueteethBindController.blueConnectFlag.value = 1;
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "设备连接失败,请点击刷新重试".tr,
|
||||
text: "设备连接超时,请重试".tr,
|
||||
textColor: themeController.currentColor.sc9,
|
||||
);
|
||||
} finally {
|
||||
@@ -1716,5 +1715,4 @@ class _WifiPagePersonState extends State<WifiPagePerson> {
|
||||
return await getDeviceWifiStatus(blueteethBindController.currentDevice!, 1,
|
||||
link: true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user