更新
This commit is contained in:
@@ -160,7 +160,7 @@ class _CalibrationPageState extends State<CalibrationPage> {
|
|||||||
height: 60.rpx,
|
height: 60.rpx,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
padding: EdgeInsetsDirectional.fromSTEB(
|
padding: EdgeInsetsDirectional.fromSTEB(
|
||||||
16.rpx, 0, 16.rpx, 0),
|
0.rpx, 0, 0.rpx, 0),
|
||||||
child: Text(
|
child: Text(
|
||||||
'下一步'.tr,
|
'下一步'.tr,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class _WifiPageState extends State<WifiPage> {
|
|||||||
THapp bledevice = blueteethBindController.currentDevice!;
|
THapp bledevice = blueteethBindController.currentDevice!;
|
||||||
bledevice.device.connect().then((Value) {
|
bledevice.device.connect().then((Value) {
|
||||||
var res2 = bledevice.isConnected;
|
var res2 = bledevice.isConnected;
|
||||||
if (res2) {
|
if (res2) {
|
||||||
blueteethBindController.blueConnectFlag.value = 2;
|
blueteethBindController.blueConnectFlag.value = 2;
|
||||||
blueteethBindController.currentDevice = bledevice;
|
blueteethBindController.currentDevice = bledevice;
|
||||||
if (lisObj != null) {
|
if (lisObj != null) {
|
||||||
@@ -194,7 +194,6 @@ class _WifiPageState extends State<WifiPage> {
|
|||||||
}
|
}
|
||||||
return Container();
|
return Container();
|
||||||
}),
|
}),
|
||||||
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -203,7 +202,7 @@ class _WifiPageState extends State<WifiPage> {
|
|||||||
left: 0,
|
left: 0,
|
||||||
child: returnIconButtom,
|
child: returnIconButtom,
|
||||||
),
|
),
|
||||||
|
|
||||||
if (widget.type == null)
|
if (widget.type == null)
|
||||||
Positioned(
|
Positioned(
|
||||||
right: 20.rpx,
|
right: 20.rpx,
|
||||||
@@ -229,7 +228,7 @@ class _WifiPageState extends State<WifiPage> {
|
|||||||
height: 60.rpx,
|
height: 60.rpx,
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
padding: EdgeInsetsDirectional.fromSTEB(
|
padding: EdgeInsetsDirectional.fromSTEB(
|
||||||
16.rpx, 0, 16.rpx, 0),
|
0.rpx, 0, 0.rpx, 0),
|
||||||
child: Text(
|
child: Text(
|
||||||
'下一步'.tr,
|
'下一步'.tr,
|
||||||
style: FlutterFlowTheme.of(context)
|
style: FlutterFlowTheme.of(context)
|
||||||
@@ -243,7 +242,6 @@ class _WifiPageState extends State<WifiPage> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user