diff --git a/lib/pages/device_bind/device_calibration.dart b/lib/pages/device_bind/device_calibration.dart index 667fd6a..c922d18 100644 --- a/lib/pages/device_bind/device_calibration.dart +++ b/lib/pages/device_bind/device_calibration.dart @@ -160,7 +160,7 @@ class _CalibrationPageState extends State { height: 60.rpx, alignment: Alignment.center, padding: EdgeInsetsDirectional.fromSTEB( - 16.rpx, 0, 16.rpx, 0), + 0.rpx, 0, 0.rpx, 0), child: Text( '下一步'.tr, style: TextStyle( diff --git a/lib/pages/device_bind/wifi_page.dart b/lib/pages/device_bind/wifi_page.dart index c3e2e4b..addf105 100644 --- a/lib/pages/device_bind/wifi_page.dart +++ b/lib/pages/device_bind/wifi_page.dart @@ -50,7 +50,7 @@ class _WifiPageState extends State { THapp bledevice = blueteethBindController.currentDevice!; bledevice.device.connect().then((Value) { var res2 = bledevice.isConnected; - if (res2) { + if (res2) { blueteethBindController.blueConnectFlag.value = 2; blueteethBindController.currentDevice = bledevice; if (lisObj != null) { @@ -194,7 +194,6 @@ class _WifiPageState extends State { } return Container(); }), - ], ), @@ -203,7 +202,7 @@ class _WifiPageState extends State { left: 0, child: returnIconButtom, ), - + if (widget.type == null) Positioned( right: 20.rpx, @@ -229,7 +228,7 @@ class _WifiPageState extends State { height: 60.rpx, alignment: Alignment.center, padding: EdgeInsetsDirectional.fromSTEB( - 16.rpx, 0, 16.rpx, 0), + 0.rpx, 0, 0.rpx, 0), child: Text( '下一步'.tr, style: FlutterFlowTheme.of(context) @@ -243,7 +242,6 @@ class _WifiPageState extends State { ), ), ), - ], ), ),